0s autopkgtest [16:18:58]: starting date and time: 2025-01-03 16:18:58+0000 0s autopkgtest [16:18:58]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [16:18:58]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ayvrq5tf/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-38.secgroup --name adt-plucky-arm64-glib2.0-20250103-144843-juju-7f2275-prod-proposed-migration-environment-15-c3ca0b83-1f87-4924-b025-a67f276158f3 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 143s autopkgtest [16:21:21]: testbed dpkg architecture: arm64 143s autopkgtest [16:21:21]: testbed apt version: 2.9.18 144s autopkgtest [16:21:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 144s autopkgtest [16:21:22]: testbed release detected to be: None 145s autopkgtest [16:21:23]: updating testbed package index (apt update) 145s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 145s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 145s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 145s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 145s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 145s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [782 kB] 146s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 146s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [73.5 kB] 146s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [98.4 kB] 146s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 146s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [675 kB] 146s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.3 kB] 146s Fetched 1792 kB in 1s (1941 kB/s) 147s Reading package lists... 148s Reading package lists... 148s Building dependency tree... 148s Reading state information... 149s Calculating upgrade... 149s The following packages will be upgraded: 149s base-passwd bash-completion 150s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 150s Need to get 267 kB of archives. 150s After this operation, 143 kB of additional disk space will be used. 150s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.6 [53.6 kB] 150s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.16.0-1 [214 kB] 150s Preconfiguring packages ... 151s Fetched 267 kB in 0s (561 kB/s) 151s (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 ... 80060 files and directories currently installed.) 151s Preparing to unpack .../base-passwd_3.6.6_arm64.deb ... 151s Unpacking base-passwd (3.6.6) over (3.6.5) ... 151s Setting up base-passwd (3.6.6) ... 151s (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 ... 80060 files and directories currently installed.) 151s Preparing to unpack .../bash-completion_1%3a2.16.0-1_all.deb ... 151s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 152s Setting up bash-completion (1:2.16.0-1) ... 152s Processing triggers for man-db (2.13.0-1) ... 154s Reading package lists... 154s Building dependency tree... 154s Reading state information... 155s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 155s autopkgtest [16:21:33]: upgrading testbed (apt dist-upgrade and autopurge) 155s Reading package lists... 156s Building dependency tree... 156s Reading state information... 156s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 157s Starting 2 pkgProblemResolver with broken count: 0 157s Done 157s Entering ResolveByKeep 158s 158s The following packages were automatically installed and are no longer required: 158s python3.12 python3.12-minimal 158s Use 'sudo apt autoremove' to remove them. 158s The following NEW packages will be installed: 158s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 158s The following packages will be upgraded: 158s libpython3-stdlib python3 python3-minimal 159s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 159s Need to get 5992 kB of archives. 159s After this operation, 24.3 MB of additional disk space will be used. 159s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 159s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 159s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.13.1-1~exp2 [27.6 kB] 159s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.13.1-1~exp2 [23.9 kB] 159s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 159s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 159s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.13.1-1~exp2 [10.2 kB] 160s Fetched 5992 kB in 1s (6533 kB/s) 160s Selecting previously unselected package libpython3.13-minimal:arm64. 160s (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.) 160s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_arm64.deb ... 160s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 160s Selecting previously unselected package python3.13-minimal. 160s Preparing to unpack .../python3.13-minimal_3.13.1-2_arm64.deb ... 160s Unpacking python3.13-minimal (3.13.1-2) ... 160s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 160s Setting up python3.13-minimal (3.13.1-2) ... 162s (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 ... 80505 files and directories currently installed.) 162s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_arm64.deb ... 162s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 162s Setting up python3-minimal (3.13.1-1~exp2) ... 162s (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 ... 80505 files and directories currently installed.) 162s Preparing to unpack .../python3_3.13.1-1~exp2_arm64.deb ... 162s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 162s Selecting previously unselected package libpython3.13-stdlib:arm64. 162s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_arm64.deb ... 162s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 162s Selecting previously unselected package python3.13. 162s Preparing to unpack .../python3.13_3.13.1-2_arm64.deb ... 162s Unpacking python3.13 (3.13.1-2) ... 162s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_arm64.deb ... 162s Unpacking libpython3-stdlib:arm64 (3.13.1-1~exp2) over (3.12.8-1) ... 163s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 163s Setting up libpython3-stdlib:arm64 (3.13.1-1~exp2) ... 163s Setting up python3.13 (3.13.1-2) ... 164s Setting up python3 (3.13.1-1~exp2) ... 164s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 164s for fn in glob1(directory, "%s.*" % fname): 164s Processing triggers for man-db (2.13.0-1) ... 165s Processing triggers for systemd (257-2ubuntu1) ... 165s Reading package lists... 165s Building dependency tree... 165s Reading state information... 166s Starting pkgProblemResolver with broken count: 0 166s Starting 2 pkgProblemResolver with broken count: 0 166s Done 167s The following packages will be REMOVED: 167s python3.12* python3.12-minimal* 167s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 167s After this operation, 8710 kB disk space will be freed. 167s (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 ... 80922 files and directories currently installed.) 167s Removing python3.12 (3.12.8-3) ... 167s Removing python3.12-minimal (3.12.8-3) ... 168s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 168s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 168s Processing triggers for man-db (2.13.0-1) ... 169s Processing triggers for systemd (257-2ubuntu1) ... 169s (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 ... 80894 files and directories currently installed.) 169s Purging configuration files for python3.12-minimal (3.12.8-3) ... 172s autopkgtest [16:21:50]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 172s autopkgtest [16:21:50]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 183s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 183s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 183s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 183s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 183s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 183s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 183s gpgv: Can't check signature: No public key 183s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 184s autopkgtest [16:22:02]: testing package glib2.0 version 2.82.4-1 190s autopkgtest [16:22:08]: build not needed 198s autopkgtest [16:22:16]: test build: preparing testbed 198s Reading package lists... 198s Building dependency tree... 198s Reading state information... 199s Starting pkgProblemResolver with broken count: 0 199s Starting 2 pkgProblemResolver with broken count: 0 199s Done 200s The following NEW packages will be installed: 200s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 200s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 200s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev 200s libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 200s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 200s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 200s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 200s pkgconf-bin uuid-dev zlib1g-dev 200s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 200s Need to get 64.9 MB of archives. 200s After this operation, 228 MB of additional disk space will be used. 200s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 200s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 200s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [10.6 MB] 201s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-12ubuntu1 [1032 B] 201s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 201s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 201s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-12ubuntu1 [49.6 kB] 201s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-12ubuntu1 [145 kB] 201s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-12ubuntu1 [27.7 kB] 201s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-12ubuntu1 [2896 kB] 201s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-12ubuntu1 [1283 kB] 201s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-12ubuntu1 [2687 kB] 201s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-12ubuntu1 [1152 kB] 201s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-12ubuntu1 [1598 kB] 201s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-12ubuntu1 [2596 kB] 201s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [20.9 MB] 202s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-12ubuntu1 [522 kB] 202s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 202s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 202s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-12ubuntu1 [2500 kB] 202s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [12.1 MB] 202s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-12ubuntu1 [20.2 kB] 202s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 202s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 202s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 202s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.6-1build1 [59.5 kB] 202s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-1ubuntu2 [53.8 kB] 202s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-1ubuntu2 [241 kB] 202s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 202s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 202s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 202s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 202s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 202s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1-dev arm64 3.7-3ubuntu1 [174 kB] 202s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-1ubuntu2 [33.2 kB] 202s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 47.2-1 [54.7 kB] 202s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 202s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 202s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 202s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 202s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.82.4-1 [1908 kB] 203s Fetched 64.9 MB in 2s (28.8 MB/s) 203s Selecting previously unselected package libisl23:arm64. 203s (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 ... 80894 files and directories currently installed.) 203s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 203s Unpacking libisl23:arm64 (0.27-1) ... 203s Selecting previously unselected package libmpc3:arm64. 203s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 203s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 203s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 203s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 203s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 203s Selecting previously unselected package cpp-14. 203s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_arm64.deb ... 203s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 203s Selecting previously unselected package cpp-aarch64-linux-gnu. 203s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 203s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 203s Selecting previously unselected package cpp. 203s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 203s Unpacking cpp (4:14.1.0-2ubuntu1) ... 203s Selecting previously unselected package libcc1-0:arm64. 203s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_arm64.deb ... 203s Unpacking libcc1-0:arm64 (14.2.0-12ubuntu1) ... 203s Selecting previously unselected package libgomp1:arm64. 203s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_arm64.deb ... 203s Unpacking libgomp1:arm64 (14.2.0-12ubuntu1) ... 203s Selecting previously unselected package libitm1:arm64. 203s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_arm64.deb ... 203s Unpacking libitm1:arm64 (14.2.0-12ubuntu1) ... 203s Selecting previously unselected package libasan8:arm64. 203s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_arm64.deb ... 203s Unpacking libasan8:arm64 (14.2.0-12ubuntu1) ... 203s Selecting previously unselected package liblsan0:arm64. 203s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_arm64.deb ... 203s Unpacking liblsan0:arm64 (14.2.0-12ubuntu1) ... 203s Selecting previously unselected package libtsan2:arm64. 203s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_arm64.deb ... 203s Unpacking libtsan2:arm64 (14.2.0-12ubuntu1) ... 204s Selecting previously unselected package libubsan1:arm64. 204s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_arm64.deb ... 204s Unpacking libubsan1:arm64 (14.2.0-12ubuntu1) ... 204s Selecting previously unselected package libhwasan0:arm64. 204s Preparing to unpack .../13-libhwasan0_14.2.0-12ubuntu1_arm64.deb ... 204s Unpacking libhwasan0:arm64 (14.2.0-12ubuntu1) ... 204s Selecting previously unselected package libgcc-14-dev:arm64. 204s Preparing to unpack .../14-libgcc-14-dev_14.2.0-12ubuntu1_arm64.deb ... 204s Unpacking libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 204s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 204s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 204s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 204s Selecting previously unselected package gcc-14. 204s Preparing to unpack .../16-gcc-14_14.2.0-12ubuntu1_arm64.deb ... 204s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 204s Selecting previously unselected package gcc-aarch64-linux-gnu. 204s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 204s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 204s Selecting previously unselected package gcc. 204s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 204s Unpacking gcc (4:14.1.0-2ubuntu1) ... 204s Selecting previously unselected package libstdc++-14-dev:arm64. 204s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-12ubuntu1_arm64.deb ... 204s Unpacking libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 205s Selecting previously unselected package g++-14-aarch64-linux-gnu. 205s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 205s Unpacking g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 205s Selecting previously unselected package g++-14. 205s Preparing to unpack .../21-g++-14_14.2.0-12ubuntu1_arm64.deb ... 205s Unpacking g++-14 (14.2.0-12ubuntu1) ... 205s Selecting previously unselected package g++-aarch64-linux-gnu. 205s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 205s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 205s Selecting previously unselected package g++. 205s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 205s Unpacking g++ (4:14.1.0-2ubuntu1) ... 205s Selecting previously unselected package build-essential. 205s Preparing to unpack .../24-build-essential_12.10ubuntu1_arm64.deb ... 205s Unpacking build-essential (12.10ubuntu1) ... 205s Selecting previously unselected package libffi-dev:arm64. 205s Preparing to unpack .../25-libffi-dev_3.4.6-1build1_arm64.deb ... 205s Unpacking libffi-dev:arm64 (3.4.6-1build1) ... 205s Selecting previously unselected package uuid-dev:arm64. 205s Preparing to unpack .../26-uuid-dev_2.40.2-1ubuntu2_arm64.deb ... 205s Unpacking uuid-dev:arm64 (2.40.2-1ubuntu2) ... 205s Selecting previously unselected package libblkid-dev:arm64. 205s Preparing to unpack .../27-libblkid-dev_2.40.2-1ubuntu2_arm64.deb ... 205s Unpacking libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 205s Selecting previously unselected package libsepol-dev:arm64. 205s Preparing to unpack .../28-libsepol-dev_3.7-1_arm64.deb ... 205s Unpacking libsepol-dev:arm64 (3.7-1) ... 205s Selecting previously unselected package libpcre2-16-0:arm64. 205s Preparing to unpack .../29-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 205s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 205s Selecting previously unselected package libpcre2-32-0:arm64. 205s Preparing to unpack .../30-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 205s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 206s Selecting previously unselected package libpcre2-posix3:arm64. 206s Preparing to unpack .../31-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 206s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 206s Selecting previously unselected package libpcre2-dev:arm64. 206s Preparing to unpack .../32-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 206s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 206s Selecting previously unselected package libselinux1-dev:arm64. 206s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu1_arm64.deb ... 206s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu1) ... 206s Selecting previously unselected package libmount-dev:arm64. 206s Preparing to unpack .../34-libmount-dev_2.40.2-1ubuntu2_arm64.deb ... 206s Unpacking libmount-dev:arm64 (2.40.2-1ubuntu2) ... 206s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 206s Preparing to unpack .../35-libsysprof-capture-4-dev_47.2-1_arm64.deb ... 206s Unpacking libsysprof-capture-4-dev:arm64 (47.2-1) ... 206s Selecting previously unselected package libpkgconf3:arm64. 206s Preparing to unpack .../36-libpkgconf3_1.8.1-4_arm64.deb ... 206s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 206s Selecting previously unselected package pkgconf-bin. 206s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_arm64.deb ... 206s Unpacking pkgconf-bin (1.8.1-4) ... 206s Selecting previously unselected package pkgconf:arm64. 206s Preparing to unpack .../38-pkgconf_1.8.1-4_arm64.deb ... 206s Unpacking pkgconf:arm64 (1.8.1-4) ... 206s Selecting previously unselected package zlib1g-dev:arm64. 206s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 206s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 206s Selecting previously unselected package libgio-2.0-dev:arm64. 206s Preparing to unpack .../40-libgio-2.0-dev_2.82.4-1_arm64.deb ... 206s Unpacking libgio-2.0-dev:arm64 (2.82.4-1) ... 206s Setting up libgomp1:arm64 (14.2.0-12ubuntu1) ... 206s Setting up libffi-dev:arm64 (3.4.6-1build1) ... 206s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 206s Setting up libsysprof-capture-4-dev:arm64 (47.2-1) ... 206s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 206s Setting up libpkgconf3:arm64 (1.8.1-4) ... 206s Setting up uuid-dev:arm64 (2.40.2-1ubuntu2) ... 206s Setting up libmpc3:arm64 (1.3.1-1build2) ... 206s Setting up libsepol-dev:arm64 (3.7-1) ... 206s Setting up pkgconf-bin (1.8.1-4) ... 206s Setting up libubsan1:arm64 (14.2.0-12ubuntu1) ... 206s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 206s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 206s Setting up libhwasan0:arm64 (14.2.0-12ubuntu1) ... 206s Setting up libasan8:arm64 (14.2.0-12ubuntu1) ... 206s Setting up libtsan2:arm64 (14.2.0-12ubuntu1) ... 206s Setting up libisl23:arm64 (0.27-1) ... 206s Setting up libcc1-0:arm64 (14.2.0-12ubuntu1) ... 206s Setting up liblsan0:arm64 (14.2.0-12ubuntu1) ... 206s Setting up libitm1:arm64 (14.2.0-12ubuntu1) ... 206s Setting up libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 206s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 206s Setting up libselinux1-dev:arm64 (3.7-3ubuntu1) ... 206s Setting up pkgconf:arm64 (1.8.1-4) ... 206s Setting up cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 206s Setting up libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 206s Setting up libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 206s Setting up libmount-dev:arm64 (2.40.2-1ubuntu2) ... 206s Setting up libgio-2.0-dev:arm64 (2.82.4-1) ... 206s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 206s Setting up cpp-14 (14.2.0-12ubuntu1) ... 206s Setting up cpp (4:14.1.0-2ubuntu1) ... 206s Setting up gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 206s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 206s Setting up g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 206s Setting up gcc-14 (14.2.0-12ubuntu1) ... 206s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 206s Setting up g++-14 (14.2.0-12ubuntu1) ... 206s Setting up gcc (4:14.1.0-2ubuntu1) ... 206s Setting up g++ (4:14.1.0-2ubuntu1) ... 206s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 206s Setting up build-essential (12.10ubuntu1) ... 206s Processing triggers for libc-bin (2.40-4ubuntu1) ... 206s Processing triggers for man-db (2.13.0-1) ... 207s Processing triggers for libglib2.0-0t64:arm64 (2.82.4-1) ... 207s No schema files found: doing nothing. 207s Processing triggers for install-info (7.1.1-1) ... 208s autopkgtest [16:22:26]: test build: [----------------------- 209s + mode=dynamic 209s + getopt -o --long static -n debian/tests/build -- 209s + getopt_temp= -- 209s + eval set -- -- 209s + set -- -- 209s + true 209s + shift 209s + break 209s + mktemp -d 209s + WORKDIR=/tmp/tmp.vO8GBFeVry 209s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 209s + cd /tmp/tmp.vO8GBFeVry 209s + [ -n ] 209s + CROSS_COMPILE= 209s + cat 209s + cat 209s + cat 209s + cat 209s + cat 209s + cat 209s + cflags= 209s + pcflags= 209s + packages=glib-2.0 209s + pkg-config --cflags --libs glib-2.0 209s + 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 209s build (glib, dynamic): OK 209s + echo build (glib, dynamic): OK 209s + [ -x glib-dynamic ] 209s + foo=bar ./glib-dynamic 209s run (glib, dynamic): OK 209s + echo run (glib, dynamic): OK 209s + cflags= 209s + pcflags= 209s + packages=gobject-2.0 209s + pkg-config --cflags --libs gobject-2.0 209s + 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 209s build (gobject, dynamic): OK 209s + echo build (gobject, dynamic): OK 209s + [ -x gobject-dynamic ] 209s + foo=bar ./gobject-dynamic 209s + echo run (gobject, dynamic): OK 209s + cflags= 209s + pcflags= 209s + packages=gio-2.0 209s run (gobject, dynamic): OK 209s + pkg-config --cflags --libs gio-2.0 209s + 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 210s build (gio, dynamic): OK 210s run (gio, dynamic): OK 210s + echo build (gio, dynamic): OK 210s + [ -x gio-dynamic ] 210s + foo=bar ./gio-dynamic 210s + echo run (gio, dynamic): OK 210s + cflags= 210s + pcflags= 210s + packages=gio-unix-2.0 210s + pkg-config --cflags --libs gio-unix-2.0 210s + 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 210s build (gio-unix, dynamic): OK 210s + echo build (gio-unix, dynamic): OK 210s + [ -x gio-unix-dynamic ] 210s + foo=bar ./gio-unix-dynamic 210s + echo run (gio-unix, dynamic): OK 210s + cflags= 210s + pcflags= 210s + packages=gmodule-2.0 210s + pkg-config --cflags --libs gmodule-2.0 210s run (gio-unix, dynamic): OK 210s + 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 210s build (gmodule, dynamic): OK 210s + echo build (gmodule, dynamic): OK 210s + [ -x gmodule-dynamic ] 210s + foo=bar ./gmodule-dynamic 210s run (gmodule, dynamic): OK 210s + echo run (gmodule, dynamic): OK 210s + cflags= 210s + pcflags= 210s + packages=gthread-2.0 210s + pkg-config --cflags --libs gthread-2.0 210s + 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 210s build (gthread, dynamic): OK 210s run (gthread, dynamic): OK 210s + echo build (gthread, dynamic): OK 210s + [ -x gthread-dynamic ] 210s + foo=bar ./gthread-dynamic 210s + echo run (gthread, dynamic): OK 210s + rm -rf /tmp/tmp.vO8GBFeVry 210s autopkgtest [16:22:28]: test build: -----------------------] 211s autopkgtest [16:22:29]: test build: - - - - - - - - - - results - - - - - - - - - - 211s build PASS (superficial) 211s autopkgtest [16:22:29]: test build-static: preparing testbed 212s Reading package lists... 212s Building dependency tree... 212s Reading state information... 212s Starting pkgProblemResolver with broken count: 0 212s Starting 2 pkgProblemResolver with broken count: 0 212s Done 213s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 214s autopkgtest [16:22:32]: test build-static: [----------------------- 214s + mode=dynamic 214s + getopt -o --long static -n debian/tests/build -- --static 214s + getopt_temp= --static -- 214s + eval set -- --static -- 214s + set -- --static -- 214s + true 214s + mode=static 214s + shift 214s + continue 214s + true 214s + shift 214s + break 214s + mktemp -d 214s + WORKDIR=/tmp/tmp.WRm3SD5mGu 214s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 214s + cd /tmp/tmp.WRm3SD5mGu 214s + [ -n ] 214s + CROSS_COMPILE= 214s + cat 214s + cat 214s + cat 214s + cat 214s + cat 214s + cat 214s + cflags= 214s + pcflags= 214s + packages=glib-2.0 214s + cflags=-static 214s + pcflags=--static 214s + pkg-config --static --cflags --libs glib-2.0 214s + 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 214s /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': 214s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 214s /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 214s /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 215s + echo build (glib, static): OK 215s + [ -x glib-static ] 215s + foo=bar ./glib-static 215s build (glib, static): OK 215s + echo run (glib, static): OK 215s + cflags= 215s + pcflags= 215s + packages=gobject-2.0 215s + run (glib, static): OK 215s cflags=-static 215s + pcflags=--static 215s + pkg-config --static --cflags --libs gobject-2.0 215s + 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 215s /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': 215s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /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 215s /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 215s build (gobject, static): OK 215s + echo build (gobject, static): OK 215s + [ -x gobject-static ] 215s + foo=bar ./gobject-static 215s run (gobject, static): OK 215s + echo run (gobject, static): OK 215s + cflags= 215s + pcflags= 215s + packages=gio-2.0 215s + cflags=-static 215s + pcflags=--static 215s + continue 215s + cflags= 215s + pcflags= 215s + packages=gio-unix-2.0 215s + cflags=-static 215s + pcflags=--static 215s + continue 215s + cflags= 215s + pcflags= 215s + packages=gmodule-2.0 215s + cflags=-static 215s + pcflags=--static 215s + pkg-config --static --cflags --libs gmodule-2.0 215s + 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 215s /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': 215s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /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': 215s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /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 215s /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 215s build (gmodule, static): OK 215s run (gmodule, static): OK 215s + echo build (gmodule, static): OK 215s + [ -x gmodule-static ] 215s + foo=bar ./gmodule-static 215s + echo run (gmodule, static): OK 215s + cflags= 215s + pcflags= 215s + packages=gthread-2.0 215s + cflags=-static 215s + pcflags=--static 215s + pkg-config --static --cflags --libs gthread-2.0 215s + 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 215s /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': 215s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /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 215s /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 215s build (gthread, static): OK 215s + echo build (gthread, static): OK 215s + [ -x gthread-static ] 215s + foo=bar ./gthread-static 215s run (gthread, static): OK 215s + echo run (gthread, static): OK 215s + rm -rf /tmp/tmp.WRm3SD5mGu 216s autopkgtest [16:22:34]: test build-static: -----------------------] 216s build-static PASS (superficial) 216s autopkgtest [16:22:34]: test build-static: - - - - - - - - - - results - - - - - - - - - - 217s autopkgtest [16:22:35]: test girepository-tools: preparing testbed 418s autopkgtest [16:25:56]: testbed dpkg architecture: arm64 418s autopkgtest [16:25:56]: testbed apt version: 2.9.18 418s autopkgtest [16:25:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 419s autopkgtest [16:25:57]: testbed release detected to be: plucky 419s autopkgtest [16:25:57]: updating testbed package index (apt update) 420s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 420s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 420s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 420s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 420s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [782 kB] 420s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 420s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [73.5 kB] 420s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 420s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [98.4 kB] 420s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 420s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [675 kB] 420s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.3 kB] 420s Fetched 1792 kB in 1s (1971 kB/s) 422s Reading package lists... 422s Reading package lists... 422s Building dependency tree... 422s Reading state information... 423s Calculating upgrade... 423s The following packages will be upgraded: 423s base-passwd bash-completion 423s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 423s Need to get 267 kB of archives. 423s After this operation, 143 kB of additional disk space will be used. 423s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.6 [53.6 kB] 424s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.16.0-1 [214 kB] 424s Preconfiguring packages ... 424s Fetched 267 kB in 0s (565 kB/s) 425s (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 ... 80060 files and directories currently installed.) 425s Preparing to unpack .../base-passwd_3.6.6_arm64.deb ... 425s Unpacking base-passwd (3.6.6) over (3.6.5) ... 425s Setting up base-passwd (3.6.6) ... 425s (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 ... 80060 files and directories currently installed.) 425s Preparing to unpack .../bash-completion_1%3a2.16.0-1_all.deb ... 425s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 425s Setting up bash-completion (1:2.16.0-1) ... 425s Processing triggers for man-db (2.13.0-1) ... 427s Reading package lists... 427s Building dependency tree... 427s Reading state information... 428s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 428s autopkgtest [16:26:06]: upgrading testbed (apt dist-upgrade and autopurge) 428s Reading package lists... 428s Building dependency tree... 428s Reading state information... 429s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 429s Starting 2 pkgProblemResolver with broken count: 0 429s Done 430s Entering ResolveByKeep 430s 431s The following packages were automatically installed and are no longer required: 431s python3.12 python3.12-minimal 431s Use 'sudo apt autoremove' to remove them. 431s The following NEW packages will be installed: 431s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 431s The following packages will be upgraded: 431s libpython3-stdlib python3 python3-minimal 431s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 431s Need to get 5992 kB of archives. 431s After this operation, 24.3 MB of additional disk space will be used. 431s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 432s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 432s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.13.1-1~exp2 [27.6 kB] 432s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.13.1-1~exp2 [23.9 kB] 432s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 432s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 432s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.13.1-1~exp2 [10.2 kB] 432s Fetched 5992 kB in 1s (7635 kB/s) 432s Selecting previously unselected package libpython3.13-minimal:arm64. 432s (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.) 432s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_arm64.deb ... 432s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 432s Selecting previously unselected package python3.13-minimal. 432s Preparing to unpack .../python3.13-minimal_3.13.1-2_arm64.deb ... 432s Unpacking python3.13-minimal (3.13.1-2) ... 432s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 432s Setting up python3.13-minimal (3.13.1-2) ... 433s (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 ... 80505 files and directories currently installed.) 433s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_arm64.deb ... 433s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 433s Setting up python3-minimal (3.13.1-1~exp2) ... 434s (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 ... 80505 files and directories currently installed.) 434s Preparing to unpack .../python3_3.13.1-1~exp2_arm64.deb ... 434s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 434s Selecting previously unselected package libpython3.13-stdlib:arm64. 434s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_arm64.deb ... 434s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 434s Selecting previously unselected package python3.13. 434s Preparing to unpack .../python3.13_3.13.1-2_arm64.deb ... 434s Unpacking python3.13 (3.13.1-2) ... 434s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_arm64.deb ... 434s Unpacking libpython3-stdlib:arm64 (3.13.1-1~exp2) over (3.12.8-1) ... 434s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 434s Setting up libpython3-stdlib:arm64 (3.13.1-1~exp2) ... 434s Setting up python3.13 (3.13.1-2) ... 435s Setting up python3 (3.13.1-1~exp2) ... 435s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 435s for fn in glob1(directory, "%s.*" % fname): 436s Processing triggers for man-db (2.13.0-1) ... 436s Processing triggers for systemd (257-2ubuntu1) ... 436s Reading package lists... 437s Building dependency tree... 437s Reading state information... 437s Starting pkgProblemResolver with broken count: 0 437s Starting 2 pkgProblemResolver with broken count: 0 437s Done 438s The following packages will be REMOVED: 438s python3.12* python3.12-minimal* 438s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 438s After this operation, 8710 kB disk space will be freed. 438s (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 ... 80922 files and directories currently installed.) 438s Removing python3.12 (3.12.8-3) ... 438s Removing python3.12-minimal (3.12.8-3) ... 439s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 439s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 439s Processing triggers for man-db (2.13.0-1) ... 439s Processing triggers for systemd (257-2ubuntu1) ... 440s (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 ... 80894 files and directories currently installed.) 440s Purging configuration files for python3.12-minimal (3.12.8-3) ... 443s Reading package lists... 443s Building dependency tree... 443s Reading state information... 443s Starting pkgProblemResolver with broken count: 0 443s Starting 2 pkgProblemResolver with broken count: 0 443s Done 444s The following NEW packages will be installed: 444s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 444s native-architecture 444s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 444s Need to get 1030 kB of archives. 444s After this operation, 12.6 MB of additional disk space will be used. 444s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.82.4-1 [853 kB] 445s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 445s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.4-1 [72.2 kB] 445s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.4-1 [103 kB] 445s Fetched 1030 kB in 1s (1853 kB/s) 445s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 445s (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 ... 80894 files and directories currently installed.) 445s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_arm64.deb ... 445s Unpacking gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 445s Selecting previously unselected package native-architecture. 445s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 445s Unpacking native-architecture (0.2.3) ... 445s Selecting previously unselected package libgirepository-2.0-0:arm64. 445s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_arm64.deb ... 445s Unpacking libgirepository-2.0-0:arm64 (2.82.4-1) ... 445s Selecting previously unselected package girepository-tools:arm64. 445s Preparing to unpack .../girepository-tools_2.82.4-1_arm64.deb ... 445s Unpacking girepository-tools:arm64 (2.82.4-1) ... 445s Setting up native-architecture (0.2.3) ... 445s Setting up libgirepository-2.0-0:arm64 (2.82.4-1) ... 445s Setting up gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 445s Setting up girepository-tools:arm64 (2.82.4-1) ... 445s Processing triggers for man-db (2.13.0-1) ... 446s Processing triggers for libc-bin (2.40-4ubuntu1) ... 453s autopkgtest [16:26:31]: test girepository-tools: [----------------------- 453s + cd /tmp/autopkgtest.D93pOL/autopkgtest_tmp 453s + dpkg-architecture -qDEB_HOST_GNU_TYPE 453s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 453s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 453s + dpkg-architecture -qDEB_HOST_MULTIARCH 453s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 453s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 453s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 453s typelib: GLib-2.0 453s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 453s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 453s autopkgtest [16:26:31]: test girepository-tools: -----------------------] 454s autopkgtest [16:26:32]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 454s girepository-tools PASS (superficial) 454s autopkgtest [16:26:32]: test libgio-2.0-dev-bin: preparing testbed 608s autopkgtest [16:29:06]: testbed dpkg architecture: arm64 609s autopkgtest [16:29:06]: testbed apt version: 2.9.18 609s autopkgtest [16:29:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 609s autopkgtest [16:29:07]: testbed release detected to be: plucky 610s autopkgtest [16:29:08]: updating testbed package index (apt update) 610s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 610s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 610s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 611s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 611s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 611s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [73.5 kB] 611s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [782 kB] 611s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 611s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [98.4 kB] 611s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 611s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [675 kB] 611s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.3 kB] 611s Fetched 1792 kB in 1s (1978 kB/s) 612s Reading package lists... 613s Reading package lists... 613s Building dependency tree... 613s Reading state information... 613s Calculating upgrade... 614s The following packages will be upgraded: 614s base-passwd bash-completion 614s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 614s Need to get 267 kB of archives. 614s After this operation, 143 kB of additional disk space will be used. 614s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.6 [53.6 kB] 614s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.16.0-1 [214 kB] 615s Preconfiguring packages ... 615s Fetched 267 kB in 0s (566 kB/s) 615s (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 ... 80060 files and directories currently installed.) 615s Preparing to unpack .../base-passwd_3.6.6_arm64.deb ... 616s Unpacking base-passwd (3.6.6) over (3.6.5) ... 616s Setting up base-passwd (3.6.6) ... 616s (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 ... 80060 files and directories currently installed.) 616s Preparing to unpack .../bash-completion_1%3a2.16.0-1_all.deb ... 616s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 616s Setting up bash-completion (1:2.16.0-1) ... 616s Processing triggers for man-db (2.13.0-1) ... 618s Reading package lists... 618s Building dependency tree... 618s Reading state information... 619s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 619s autopkgtest [16:29:17]: upgrading testbed (apt dist-upgrade and autopurge) 619s Reading package lists... 619s Building dependency tree... 619s Reading state information... 620s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 620s Starting 2 pkgProblemResolver with broken count: 0 620s Done 621s Entering ResolveByKeep 621s 622s The following packages were automatically installed and are no longer required: 622s python3.12 python3.12-minimal 622s Use 'sudo apt autoremove' to remove them. 622s The following NEW packages will be installed: 622s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 622s The following packages will be upgraded: 622s libpython3-stdlib python3 python3-minimal 622s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 622s Need to get 5992 kB of archives. 622s After this operation, 24.3 MB of additional disk space will be used. 622s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 623s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 623s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.13.1-1~exp2 [27.6 kB] 623s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.13.1-1~exp2 [23.9 kB] 623s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 623s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 623s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.13.1-1~exp2 [10.2 kB] 624s Fetched 5992 kB in 1s (6578 kB/s) 624s Selecting previously unselected package libpython3.13-minimal:arm64. 624s (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.) 624s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_arm64.deb ... 624s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 624s Selecting previously unselected package python3.13-minimal. 624s Preparing to unpack .../python3.13-minimal_3.13.1-2_arm64.deb ... 624s Unpacking python3.13-minimal (3.13.1-2) ... 624s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 624s Setting up python3.13-minimal (3.13.1-2) ... 625s (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 ... 80505 files and directories currently installed.) 625s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_arm64.deb ... 625s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 625s Setting up python3-minimal (3.13.1-1~exp2) ... 625s (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 ... 80505 files and directories currently installed.) 625s Preparing to unpack .../python3_3.13.1-1~exp2_arm64.deb ... 625s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 625s Selecting previously unselected package libpython3.13-stdlib:arm64. 625s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_arm64.deb ... 625s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 625s Selecting previously unselected package python3.13. 625s Preparing to unpack .../python3.13_3.13.1-2_arm64.deb ... 625s Unpacking python3.13 (3.13.1-2) ... 625s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_arm64.deb ... 625s Unpacking libpython3-stdlib:arm64 (3.13.1-1~exp2) over (3.12.8-1) ... 625s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 625s Setting up libpython3-stdlib:arm64 (3.13.1-1~exp2) ... 625s Setting up python3.13 (3.13.1-2) ... 627s Setting up python3 (3.13.1-1~exp2) ... 627s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 627s for fn in glob1(directory, "%s.*" % fname): 627s Processing triggers for man-db (2.13.0-1) ... 627s Processing triggers for systemd (257-2ubuntu1) ... 628s Reading package lists... 628s Building dependency tree... 628s Reading state information... 629s Starting pkgProblemResolver with broken count: 0 629s Starting 2 pkgProblemResolver with broken count: 0 629s Done 629s The following packages will be REMOVED: 629s python3.12* python3.12-minimal* 630s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 630s After this operation, 8710 kB disk space will be freed. 630s (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 ... 80922 files and directories currently installed.) 630s Removing python3.12 (3.12.8-3) ... 630s Removing python3.12-minimal (3.12.8-3) ... 630s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 630s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 631s Processing triggers for man-db (2.13.0-1) ... 631s Processing triggers for systemd (257-2ubuntu1) ... 631s (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 ... 80894 files and directories currently installed.) 631s Purging configuration files for python3.12-minimal (3.12.8-3) ... 634s Reading package lists... 635s Building dependency tree... 635s Reading state information... 635s Starting pkgProblemResolver with broken count: 0 635s Starting 2 pkgProblemResolver with broken count: 0 635s Done 636s The following NEW packages will be installed: 636s libgio-2.0-dev-bin python3-packaging 636s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 636s Need to get 180 kB of archives. 636s After this operation, 1067 kB of additional disk space will be used. 636s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 636s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.4-1 [129 kB] 637s Fetched 180 kB in 0s (426 kB/s) 637s Selecting previously unselected package python3-packaging. 637s (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 ... 80894 files and directories currently installed.) 637s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 637s Unpacking python3-packaging (24.2-1) ... 637s Selecting previously unselected package libgio-2.0-dev-bin. 637s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_arm64.deb ... 637s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 637s Setting up python3-packaging (24.2-1) ... 637s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 637s Processing triggers for man-db (2.13.0-1) ... 648s autopkgtest [16:29:46]: test libgio-2.0-dev-bin: [----------------------- 648s + gdbus-codegen --help 648s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 648s [--c-namespace NAMESPACE] [--c-generate-object-manager] 648s [--c-generate-autocleanup {none,objects,all}] 648s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 648s [--generate-rst OUTFILES] [--pragma-once] 648s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 648s [--glib-min-required VERSION] 648s [--glib-max-allowed VERSION] 648s [--symbol-decorator SYMBOL_DECORATOR] 648s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 648s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 648s [--generate-c-code OUTFILES | --header | --body | 648s --interface-info-header | --interface-info-body] 648s [--output FILE | --output-directory OUTDIR] 648s FILE [FILE ...] 648s 648s D-Bus code and documentation generator 648s 648s positional arguments: 648s FILE D-Bus introspection XML file 648s 648s options: 648s -h, --help show this help message and exit 648s --interface-prefix PREFIX 648s String to strip from D-Bus interface names for code 648s and docs 648s --c-namespace NAMESPACE 648s The namespace to use for generated C code 648s --c-generate-object-manager 648s Generate a GDBusObjectManagerClient subclass when 648s generating C code 648s --c-generate-autocleanup {none,objects,all} 648s Generate autocleanup support 648s --generate-docbook OUTFILES 648s Generate Docbook in OUTFILES-org.Project.IFace.xml 648s --generate-md OUTFILES 648s Generate Markdown in OUTFILES-org.Project.IFace.md 648s --generate-rst OUTFILES 648s Generate reStructuredText in OUTFILES- 648s org.Project.IFace.rst 648s --pragma-once Use "pragma once" as the inclusion guard 648s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 648s Add annotation (may be used several times) 648s --glib-min-required VERSION 648s Minimum version of GLib to be supported by the 648s outputted code (default: 2.30) 648s --glib-max-allowed VERSION 648s Maximum version of GLib to be used by the outputted 648s code (default: current GLib version) 648s --symbol-decorator SYMBOL_DECORATOR 648s Macro used to decorate a symbol in the outputted 648s header, possibly to export symbols 648s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 648s Additional header required for decorator specified by 648s --symbol-decorator 648s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 648s Additional define required for decorator specified by 648s --symbol-decorator 648s --generate-c-code OUTFILES 648s Generate C code in OUTFILES.[ch] 648s --header Generate C headers 648s --body Generate C code 648s --interface-info-header 648s Generate GDBusInterfaceInfo C header 648s --interface-info-body 648s Generate GDBusInterfaceInfo C code 648s --output FILE Write output into the specified file 648s --output-directory OUTDIR 648s Location to output generated files 648s + glib-compile-resources --version 648s 2.82.4 648s + glib-genmarshal --version 648s glib-genmarshal version 2.82.4 648s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 648s You may redistribute copies of glib-genmarshal under the terms of 648s the GNU General Public License which can be found in the 648s GLib source package. Sources, examples and contact 648s information are available at http://www.gtk.org 648s + glib-gettextize --version 648s + glib-mkenums --version 648s /usr/bin/glib-gettextize (GNU glib) 2.82.4 648s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 648s This is free software; see the source for copying conditions. There is NO 648s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 648s Written by Ulrich Drepper 648s glib-mkenums version 2.82.4 648s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 648s You may redistribute copies of glib-mkenums under the terms of 648s the GNU General Public License which can be found in the 648s GLib source package. Sources, examples and contact 648s information are available at http://www.gtk.org 648s + gobject-query tree 648s GObject 648s + gtester --version 648s gtester version 2.82.4 648s + gtester-report --version 648s gtester-report (GLib utils) version 2.82.4. 649s autopkgtest [16:29:47]: test libgio-2.0-dev-bin: -----------------------] 650s autopkgtest [16:29:48]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 650s libgio-2.0-dev-bin PASS (superficial) 650s autopkgtest [16:29:48]: test libglib2.0-dev: preparing testbed 780s autopkgtest [16:31:58]: testbed dpkg architecture: arm64 780s autopkgtest [16:31:58]: testbed apt version: 2.9.18 780s autopkgtest [16:31:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 780s autopkgtest [16:31:58]: testbed release detected to be: plucky 781s autopkgtest [16:31:59]: updating testbed package index (apt update) 782s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 782s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 782s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 782s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 782s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 782s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [782 kB] 782s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 782s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [73.5 kB] 782s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [98.4 kB] 782s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 782s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [675 kB] 782s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.3 kB] 783s Fetched 1792 kB in 1s (2012 kB/s) 783s Reading package lists... 784s Reading package lists... 784s Building dependency tree... 784s Reading state information... 785s Calculating upgrade... 785s The following packages will be upgraded: 785s base-passwd bash-completion 786s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 786s Need to get 267 kB of archives. 786s After this operation, 143 kB of additional disk space will be used. 786s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.6 [53.6 kB] 786s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.16.0-1 [214 kB] 786s Preconfiguring packages ... 787s Fetched 267 kB in 0s (562 kB/s) 787s (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 ... 80060 files and directories currently installed.) 787s Preparing to unpack .../base-passwd_3.6.6_arm64.deb ... 787s Unpacking base-passwd (3.6.6) over (3.6.5) ... 787s Setting up base-passwd (3.6.6) ... 787s (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 ... 80060 files and directories currently installed.) 787s Preparing to unpack .../bash-completion_1%3a2.16.0-1_all.deb ... 787s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 787s Setting up bash-completion (1:2.16.0-1) ... 787s Processing triggers for man-db (2.13.0-1) ... 789s Reading package lists... 789s Building dependency tree... 789s Reading state information... 790s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 790s autopkgtest [16:32:08]: upgrading testbed (apt dist-upgrade and autopurge) 790s Reading package lists... 791s Building dependency tree... 791s Reading state information... 791s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 791s Starting 2 pkgProblemResolver with broken count: 0 791s Done 792s Entering ResolveByKeep 793s 793s The following packages were automatically installed and are no longer required: 793s python3.12 python3.12-minimal 793s Use 'sudo apt autoremove' to remove them. 793s The following NEW packages will be installed: 793s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 793s The following packages will be upgraded: 793s libpython3-stdlib python3 python3-minimal 793s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 793s Need to get 5992 kB of archives. 793s After this operation, 24.3 MB of additional disk space will be used. 793s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 794s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 794s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.13.1-1~exp2 [27.6 kB] 794s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.13.1-1~exp2 [23.9 kB] 794s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 794s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 794s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.13.1-1~exp2 [10.2 kB] 794s Fetched 5992 kB in 1s (7880 kB/s) 794s Selecting previously unselected package libpython3.13-minimal:arm64. 794s (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.) 794s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_arm64.deb ... 794s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 794s Selecting previously unselected package python3.13-minimal. 794s Preparing to unpack .../python3.13-minimal_3.13.1-2_arm64.deb ... 794s Unpacking python3.13-minimal (3.13.1-2) ... 794s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 794s Setting up python3.13-minimal (3.13.1-2) ... 796s (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 ... 80505 files and directories currently installed.) 796s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_arm64.deb ... 796s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 796s Setting up python3-minimal (3.13.1-1~exp2) ... 796s (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 ... 80505 files and directories currently installed.) 796s Preparing to unpack .../python3_3.13.1-1~exp2_arm64.deb ... 796s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 796s Selecting previously unselected package libpython3.13-stdlib:arm64. 796s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_arm64.deb ... 796s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 796s Selecting previously unselected package python3.13. 796s Preparing to unpack .../python3.13_3.13.1-2_arm64.deb ... 796s Unpacking python3.13 (3.13.1-2) ... 796s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_arm64.deb ... 796s Unpacking libpython3-stdlib:arm64 (3.13.1-1~exp2) over (3.12.8-1) ... 796s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 796s Setting up libpython3-stdlib:arm64 (3.13.1-1~exp2) ... 796s Setting up python3.13 (3.13.1-2) ... 797s Setting up python3 (3.13.1-1~exp2) ... 798s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 798s for fn in glob1(directory, "%s.*" % fname): 798s Processing triggers for man-db (2.13.0-1) ... 798s Processing triggers for systemd (257-2ubuntu1) ... 798s Reading package lists... 799s Building dependency tree... 799s Reading state information... 799s Starting pkgProblemResolver with broken count: 0 799s Starting 2 pkgProblemResolver with broken count: 0 799s Done 800s The following packages will be REMOVED: 800s python3.12* python3.12-minimal* 800s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 800s After this operation, 8710 kB disk space will be freed. 801s (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 ... 80922 files and directories currently installed.) 801s Removing python3.12 (3.12.8-3) ... 801s Removing python3.12-minimal (3.12.8-3) ... 801s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 801s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 801s Processing triggers for man-db (2.13.0-1) ... 802s Processing triggers for systemd (257-2ubuntu1) ... 802s (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 ... 80894 files and directories currently installed.) 802s Purging configuration files for python3.12-minimal (3.12.8-3) ... 805s Reading package lists... 805s Building dependency tree... 805s Reading state information... 806s Starting pkgProblemResolver with broken count: 0 806s Starting 2 pkgProblemResolver with broken count: 0 806s Done 806s The following NEW packages will be installed: 806s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 806s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 806s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev 806s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 806s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 806s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 806s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 806s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 806s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 806s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 807s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 807s Need to get 66.2 MB of archives. 807s After this operation, 243 MB of additional disk space will be used. 807s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 807s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 807s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [10.6 MB] 807s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-12ubuntu1 [1032 B] 807s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 807s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 807s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-12ubuntu1 [49.6 kB] 807s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-12ubuntu1 [145 kB] 807s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-12ubuntu1 [27.7 kB] 807s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-12ubuntu1 [2896 kB] 808s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-12ubuntu1 [1283 kB] 808s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-12ubuntu1 [2687 kB] 808s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-12ubuntu1 [1152 kB] 808s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-12ubuntu1 [1598 kB] 808s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-12ubuntu1 [2596 kB] 808s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [20.9 MB] 809s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-12ubuntu1 [522 kB] 809s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 809s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 809s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-12ubuntu1 [2500 kB] 809s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [12.1 MB] 809s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-12ubuntu1 [20.2 kB] 809s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 809s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 809s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 809s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.82.4-1 [853 kB] 809s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 809s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.4-1 [72.2 kB] 809s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.4-1 [103 kB] 809s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.6-1build1 [59.5 kB] 809s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-1ubuntu2 [53.8 kB] 809s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-1ubuntu2 [241 kB] 809s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 809s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 809s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 809s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 809s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 809s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1-dev arm64 3.7-3ubuntu1 [174 kB] 809s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-1ubuntu2 [33.2 kB] 809s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 47.2-1 [54.7 kB] 809s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 809s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 809s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 809s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 809s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.82.4-1 [1908 kB] 809s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 809s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.4-1 [129 kB] 809s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-bin arm64 2.82.4-1 [97.8 kB] 809s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.82.4-1 [18.1 kB] 809s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev arm64 2.82.4-1 [18.8 kB] 810s Fetched 66.2 MB in 3s (23.1 MB/s) 810s Selecting previously unselected package libisl23:arm64. 810s (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 ... 80894 files and directories currently installed.) 810s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 810s Unpacking libisl23:arm64 (0.27-1) ... 810s Selecting previously unselected package libmpc3:arm64. 810s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 810s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 810s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 810s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 810s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 810s Selecting previously unselected package cpp-14. 810s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_arm64.deb ... 810s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 810s Selecting previously unselected package cpp-aarch64-linux-gnu. 810s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 810s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 810s Selecting previously unselected package cpp. 810s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 810s Unpacking cpp (4:14.1.0-2ubuntu1) ... 810s Selecting previously unselected package libcc1-0:arm64. 810s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_arm64.deb ... 810s Unpacking libcc1-0:arm64 (14.2.0-12ubuntu1) ... 810s Selecting previously unselected package libgomp1:arm64. 810s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_arm64.deb ... 810s Unpacking libgomp1:arm64 (14.2.0-12ubuntu1) ... 810s Selecting previously unselected package libitm1:arm64. 810s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_arm64.deb ... 810s Unpacking libitm1:arm64 (14.2.0-12ubuntu1) ... 810s Selecting previously unselected package libasan8:arm64. 810s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_arm64.deb ... 810s Unpacking libasan8:arm64 (14.2.0-12ubuntu1) ... 811s Selecting previously unselected package liblsan0:arm64. 811s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_arm64.deb ... 811s Unpacking liblsan0:arm64 (14.2.0-12ubuntu1) ... 811s Selecting previously unselected package libtsan2:arm64. 811s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_arm64.deb ... 811s Unpacking libtsan2:arm64 (14.2.0-12ubuntu1) ... 811s Selecting previously unselected package libubsan1:arm64. 811s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_arm64.deb ... 811s Unpacking libubsan1:arm64 (14.2.0-12ubuntu1) ... 811s Selecting previously unselected package libhwasan0:arm64. 811s Preparing to unpack .../13-libhwasan0_14.2.0-12ubuntu1_arm64.deb ... 811s Unpacking libhwasan0:arm64 (14.2.0-12ubuntu1) ... 811s Selecting previously unselected package libgcc-14-dev:arm64. 811s Preparing to unpack .../14-libgcc-14-dev_14.2.0-12ubuntu1_arm64.deb ... 811s Unpacking libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 811s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 811s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 811s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 811s Selecting previously unselected package gcc-14. 812s Preparing to unpack .../16-gcc-14_14.2.0-12ubuntu1_arm64.deb ... 812s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 812s Selecting previously unselected package gcc-aarch64-linux-gnu. 812s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 812s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 812s Selecting previously unselected package gcc. 812s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 812s Unpacking gcc (4:14.1.0-2ubuntu1) ... 812s Selecting previously unselected package libstdc++-14-dev:arm64. 812s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-12ubuntu1_arm64.deb ... 812s Unpacking libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 812s Selecting previously unselected package g++-14-aarch64-linux-gnu. 812s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 812s Unpacking g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 812s Selecting previously unselected package g++-14. 812s Preparing to unpack .../21-g++-14_14.2.0-12ubuntu1_arm64.deb ... 812s Unpacking g++-14 (14.2.0-12ubuntu1) ... 812s Selecting previously unselected package g++-aarch64-linux-gnu. 812s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 812s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 812s Selecting previously unselected package g++. 812s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 812s Unpacking g++ (4:14.1.0-2ubuntu1) ... 812s Selecting previously unselected package build-essential. 812s Preparing to unpack .../24-build-essential_12.10ubuntu1_arm64.deb ... 812s Unpacking build-essential (12.10ubuntu1) ... 812s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 813s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.82.4-1_arm64.deb ... 813s Unpacking gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 813s Selecting previously unselected package native-architecture. 813s Preparing to unpack .../26-native-architecture_0.2.3_all.deb ... 813s Unpacking native-architecture (0.2.3) ... 813s Selecting previously unselected package libgirepository-2.0-0:arm64. 813s Preparing to unpack .../27-libgirepository-2.0-0_2.82.4-1_arm64.deb ... 813s Unpacking libgirepository-2.0-0:arm64 (2.82.4-1) ... 813s Selecting previously unselected package girepository-tools:arm64. 813s Preparing to unpack .../28-girepository-tools_2.82.4-1_arm64.deb ... 813s Unpacking girepository-tools:arm64 (2.82.4-1) ... 813s Selecting previously unselected package libffi-dev:arm64. 813s Preparing to unpack .../29-libffi-dev_3.4.6-1build1_arm64.deb ... 813s Unpacking libffi-dev:arm64 (3.4.6-1build1) ... 813s Selecting previously unselected package uuid-dev:arm64. 813s Preparing to unpack .../30-uuid-dev_2.40.2-1ubuntu2_arm64.deb ... 813s Unpacking uuid-dev:arm64 (2.40.2-1ubuntu2) ... 813s Selecting previously unselected package libblkid-dev:arm64. 813s Preparing to unpack .../31-libblkid-dev_2.40.2-1ubuntu2_arm64.deb ... 813s Unpacking libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 813s Selecting previously unselected package libsepol-dev:arm64. 813s Preparing to unpack .../32-libsepol-dev_3.7-1_arm64.deb ... 813s Unpacking libsepol-dev:arm64 (3.7-1) ... 813s Selecting previously unselected package libpcre2-16-0:arm64. 813s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 813s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 813s Selecting previously unselected package libpcre2-32-0:arm64. 813s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 813s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 813s Selecting previously unselected package libpcre2-posix3:arm64. 813s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 813s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 813s Selecting previously unselected package libpcre2-dev:arm64. 813s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 813s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 813s Selecting previously unselected package libselinux1-dev:arm64. 813s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu1_arm64.deb ... 813s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu1) ... 813s Selecting previously unselected package libmount-dev:arm64. 813s Preparing to unpack .../38-libmount-dev_2.40.2-1ubuntu2_arm64.deb ... 813s Unpacking libmount-dev:arm64 (2.40.2-1ubuntu2) ... 813s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 813s Preparing to unpack .../39-libsysprof-capture-4-dev_47.2-1_arm64.deb ... 813s Unpacking libsysprof-capture-4-dev:arm64 (47.2-1) ... 813s Selecting previously unselected package libpkgconf3:arm64. 813s Preparing to unpack .../40-libpkgconf3_1.8.1-4_arm64.deb ... 813s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 813s Selecting previously unselected package pkgconf-bin. 813s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_arm64.deb ... 813s Unpacking pkgconf-bin (1.8.1-4) ... 813s Selecting previously unselected package pkgconf:arm64. 813s Preparing to unpack .../42-pkgconf_1.8.1-4_arm64.deb ... 813s Unpacking pkgconf:arm64 (1.8.1-4) ... 813s Selecting previously unselected package zlib1g-dev:arm64. 813s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 813s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 813s Selecting previously unselected package libgio-2.0-dev:arm64. 814s Preparing to unpack .../44-libgio-2.0-dev_2.82.4-1_arm64.deb ... 814s Unpacking libgio-2.0-dev:arm64 (2.82.4-1) ... 814s Selecting previously unselected package python3-packaging. 814s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 814s Unpacking python3-packaging (24.2-1) ... 814s Selecting previously unselected package libgio-2.0-dev-bin. 814s Preparing to unpack .../46-libgio-2.0-dev-bin_2.82.4-1_arm64.deb ... 814s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 814s Selecting previously unselected package libglib2.0-bin. 814s Preparing to unpack .../47-libglib2.0-bin_2.82.4-1_arm64.deb ... 814s Unpacking libglib2.0-bin (2.82.4-1) ... 814s Selecting previously unselected package libglib2.0-dev-bin. 814s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.4-1_arm64.deb ... 814s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 814s Selecting previously unselected package libglib2.0-dev:arm64. 814s Preparing to unpack .../49-libglib2.0-dev_2.82.4-1_arm64.deb ... 814s Unpacking libglib2.0-dev:arm64 (2.82.4-1) ... 814s Setting up native-architecture (0.2.3) ... 814s Setting up libgirepository-2.0-0:arm64 (2.82.4-1) ... 814s Setting up libglib2.0-bin (2.82.4-1) ... 814s Setting up libgomp1:arm64 (14.2.0-12ubuntu1) ... 814s Setting up libffi-dev:arm64 (3.4.6-1build1) ... 814s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 814s Setting up libsysprof-capture-4-dev:arm64 (47.2-1) ... 814s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 814s Setting up python3-packaging (24.2-1) ... 814s Setting up libpkgconf3:arm64 (1.8.1-4) ... 814s Setting up uuid-dev:arm64 (2.40.2-1ubuntu2) ... 814s Setting up libmpc3:arm64 (1.3.1-1build2) ... 814s Setting up libsepol-dev:arm64 (3.7-1) ... 814s Setting up pkgconf-bin (1.8.1-4) ... 814s Setting up libubsan1:arm64 (14.2.0-12ubuntu1) ... 814s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 814s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 814s Setting up gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 814s Setting up libhwasan0:arm64 (14.2.0-12ubuntu1) ... 814s Setting up libasan8:arm64 (14.2.0-12ubuntu1) ... 814s Setting up libtsan2:arm64 (14.2.0-12ubuntu1) ... 814s Setting up libisl23:arm64 (0.27-1) ... 814s Setting up libcc1-0:arm64 (14.2.0-12ubuntu1) ... 814s Setting up liblsan0:arm64 (14.2.0-12ubuntu1) ... 814s Setting up libitm1:arm64 (14.2.0-12ubuntu1) ... 814s Setting up libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 814s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 814s Setting up girepository-tools:arm64 (2.82.4-1) ... 814s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 814s Setting up libselinux1-dev:arm64 (3.7-3ubuntu1) ... 814s Setting up pkgconf:arm64 (1.8.1-4) ... 814s Setting up cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 814s Setting up libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 814s Setting up libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 814s Setting up libmount-dev:arm64 (2.40.2-1ubuntu2) ... 814s Setting up libglib2.0-dev-bin (2.82.4-1) ... 814s Setting up libgio-2.0-dev:arm64 (2.82.4-1) ... 814s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 814s Setting up cpp-14 (14.2.0-12ubuntu1) ... 814s Setting up cpp (4:14.1.0-2ubuntu1) ... 814s Setting up gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 814s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 814s Setting up g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 814s Setting up gcc-14 (14.2.0-12ubuntu1) ... 814s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 814s Setting up g++-14 (14.2.0-12ubuntu1) ... 814s Setting up gcc (4:14.1.0-2ubuntu1) ... 814s Setting up g++ (4:14.1.0-2ubuntu1) ... 814s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 814s Setting up build-essential (12.10ubuntu1) ... 814s Processing triggers for install-info (7.1.1-1) ... 814s Processing triggers for libc-bin (2.40-4ubuntu1) ... 815s Processing triggers for man-db (2.13.0-1) ... 816s Processing triggers for libglib2.0-0t64:arm64 (2.82.4-1) ... 816s No schema files found: doing nothing. 816s Setting up libglib2.0-dev:arm64 (2.82.4-1) ... 822s autopkgtest [16:32:40]: test libglib2.0-dev: [----------------------- 822s + debian/tests/build 822s + mode=dynamic 822s + getopt -o --long static -n debian/tests/build -- 822s + getopt_temp= -- 822s + eval set -- -- 822s + set -- -- 822s + true 822s + shift 822s + break 822s + mktemp -d 822s + WORKDIR=/tmp/tmp.xZOH7kHA9g 822s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 822s + cd /tmp/tmp.xZOH7kHA9g 822s + [ -n ] 822s + CROSS_COMPILE= 822s + cat 822s + cat 822s + cat 822s + cat 822s + cat 822s + cat 822s + cflags= 822s + pcflags= 822s + packages=glib-2.0 822s + pkg-config --cflags --libs glib-2.0 822s + 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 822s + echo build (glib, dynamic): OK 822s + [ -x glib-dynamic ] 822s + foo=bar ./glib-dynamic 822s + echo run (glib, dynamic): OK 822s + cflags= 822s + pcflags= 822s + packages=gobject-2.0 822s + pkg-config --cflags --libs gobject-2.0 822s build (glib, dynamic): OK 822s run (glib, dynamic): OK 822s + 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 822s + echo build (gobject, dynamic): OK 822s + [ -x gobject-dynamic ] 822s + foo=bar ./gobject-dynamic 822s build (gobject, dynamic): OK 822s + echo run (gobject, dynamic): OK 822s + cflags= 822s + pcflags= 822s + packages=gio-2.0 822s run (gobject, dynamic): OK 822s + pkg-config --cflags --libs gio-2.0 822s + 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 823s + echo build (gio, dynamic): OK 823s + [ -x gio-dynamic ] 823s + foo=bar ./gio-dynamic 823s build (gio, dynamic): OK 823s run (gio, dynamic): OK 823s + echo run (gio, dynamic): OK 823s + cflags= 823s + pcflags= 823s + packages=gio-unix-2.0 823s + pkg-config --cflags --libs gio-unix-2.0 823s + 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 823s build (gio-unix, dynamic): OK 823s + echo build (gio-unix, dynamic): OK 823s + [ -x gio-unix-dynamic ] 823s + foo=bar ./gio-unix-dynamic 823s + echo run (gio-unix, dynamic): OK 823s + cflags= 823s + pcflags= 823s + packages=gmodule-2.0 823s + pkg-config --cflags --libs gmodule-2.0 823s run (gio-unix, dynamic): OK 823s + 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 823s build (gmodule, dynamic): OK 823s + echo build (gmodule, dynamic): OK 823s + [ -x gmodule-dynamic ] 823s + foo=bar ./gmodule-dynamic 823s + echo run (gmodule, dynamic): OK 823s + cflags= 823s + pcflags= 823s + packages=gthread-2.0 823s + pkg-config --cflags --libs gthread-2.0 823s run (gmodule, dynamic): OK 823s + 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 823s build (gthread, dynamic): OK 823s + echo build (gthread, dynamic): OK 823s + [ -x gthread-dynamic ] 823s + foo=bar ./gthread-dynamic 823s + echo run (gthread, dynamic): OK 823s + rm -rf /tmp/tmp.xZOH7kHA9g 823s run (gthread, dynamic): OK 823s + debian/tests/build-static 823s + mode=dynamic 823s + getopt -o --long static -n debian/tests/build -- --static 823s + getopt_temp= --static -- 823s + eval set -- --static -- 823s + set -- --static -- 823s + true 823s + mode=static 823s + shift 823s + continue 823s + true 823s + shift 823s + break 823s + mktemp -d 823s + WORKDIR=/tmp/tmp.v1JXzbaWqo 823s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 823s + cd /tmp/tmp.v1JXzbaWqo 823s + [ -n ] 823s + CROSS_COMPILE= 823s + cat 823s + cat 823s + cat 823s + cat 823s + cat 823s + cat 823s + cflags= 823s + pcflags= 823s + packages=glib-2.0 823s + cflags=-static 823s + pcflags=--static 823s + pkg-config --static --cflags --libs glib-2.0 823s + 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 823s /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': 823s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 823s /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 823s /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 823s build (glib, static): OK 823s + echo build (glib, static): OK 823s + [ -x glib-static ] 823s + foo=bar ./glib-static 823s + echo run (glib, static): OK 823s + cflags= 823s + pcflags= 823s + packages=gobject-2.0 823s + cflags=-static 823s + pcflags=--static 823s + pkg-config --static --cflags --libs gobject-2.0 823s run (glib, static): OK 823s + 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 823s /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': 823s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 823s /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 823s /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 824s build (gobject, static): OK 824s + echo build (gobject, static): OK 824s + [ -x gobject-static ] 824s + foo=bar ./gobject-static 824s run (gobject, static): OK 824s + echo run (gobject, static): OK 824s + cflags= 824s + pcflags= 824s + packages=gio-2.0 824s + cflags=-static 824s + pcflags=--static 824s + continue 824s + cflags= 824s + pcflags= 824s + packages=gio-unix-2.0 824s + cflags=-static 824s + pcflags=--static 824s + continue 824s + cflags= 824s + pcflags= 824s + packages=gmodule-2.0 824s + cflags=-static 824s + pcflags=--static 824s + pkg-config --static --cflags --libs gmodule-2.0 824s + 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 824s /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': 824s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 824s /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': 824s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 824s /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 824s /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 824s + build (gmodule, static): OK 824s echo build (gmodule, static): OK 824s + [ -x gmodule-static ] 824s + foo=bar ./gmodule-static 824s run (gmodule, static): OK 824s + echo run (gmodule, static): OK 824s + cflags= 824s + pcflags= 824s + packages=gthread-2.0 824s + cflags=-static 824s + pcflags=--static 824s + pkg-config --static --cflags --libs gthread-2.0 824s + 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 824s /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': 824s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 824s /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 824s /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 824s build (gthread, static): OK 824s + echo build (gthread, static): OK 824s + [ -x gthread-static ] 824s + foo=bar ./gthread-static 824s + echo run (gthread, static): OK 824s + rm -rf /tmp/tmp.v1JXzbaWqo 824s run (gthread, static): OK 824s + debian/tests/girepository-tools 824s + cd /tmp/autopkgtest.D93pOL/autopkgtest_tmp 824s + dpkg-architecture -qDEB_HOST_GNU_TYPE 824s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 824s + dpkg-architecture -qDEB_HOST_MULTIARCH 824s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 824s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 824s typelib: GLib-2.0 824s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 824s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 824s + debian/tests/libgio-2.0-dev-bin 824s + gdbus-codegen --help 824s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 824s [--c-namespace NAMESPACE] [--c-generate-object-manager] 824s [--c-generate-autocleanup {none,objects,all}] 824s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 824s [--generate-rst OUTFILES] [--pragma-once] 824s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 824s [--glib-min-required VERSION] 824s [--glib-max-allowed VERSION] 824s [--symbol-decorator SYMBOL_DECORATOR] 824s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 824s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 824s [--generate-c-code OUTFILES | --header | --body | 824s --interface-info-header | --interface-info-body] 824s [--output FILE | --output-directory OUTDIR] 824s FILE [FILE ...] 824s 824s D-Bus code and documentation generator 824s 824s positional arguments: 824s FILE D-Bus introspection XML file 824s 824s options: 824s -h, --help show this help message and exit 824s --interface-prefix PREFIX 824s String to strip from D-Bus interface names for code 824s and docs 824s --c-namespace NAMESPACE 824s The namespace to use for generated C code 824s --c-generate-object-manager 824s Generate a GDBusObjectManagerClient subclass when 824s generating C code 824s --c-generate-autocleanup {none,objects,all} 824s Generate autocleanup support 824s --generate-docbook OUTFILES 824s Generate Docbook in OUTFILES-org.Project.IFace.xml 824s --generate-md OUTFILES 824s Generate Markdown in OUTFILES-org.Project.IFace.md 824s --generate-rst OUTFILES 824s Generate reStructuredText in OUTFILES- 824s org.Project.IFace.rst 824s --pragma-once Use "pragma once" as the inclusion guard 824s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 824s Add annotation (may be used several times) 824s --glib-min-required VERSION 824s Minimum version of GLib to be supported by the 824s outputted code (default: 2.30) 824s --glib-max-allowed VERSION 824s Maximum version of GLib to be used by the outputted 824s code (default: current GLib version) 824s --symbol-decorator SYMBOL_DECORATOR 824s Macro used to decorate a symbol in the outputted 824s header, possibly to export symbols 824s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 824s Additional header required for decorator specified by 824s --symbol-decorator 824s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 824s Additional define required for decorator specified by 824s --symbol-decorator 824s --generate-c-code OUTFILES 824s Generate C code in OUTFILES.[ch] 824s --header Generate C headers 824s --body Generate C code 824s --interface-info-header 824s Generate GDBusInterfaceInfo C header 824s --interface-info-body 824s Generate GDBusInterfaceInfo C code 824s --output FILE Write output into the specified file 824s --output-directory OUTDIR 824s Location to output generated files 824s + glib-compile-resources --version 824s 2.82.4 824s + glib-genmarshal --version 824s glib-genmarshal version 2.82.4 824s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 824s You may redistribute copies of glib-genmarshal under the terms of 824s the GNU General Public License which can be found in the 824s GLib source package. Sources, examples and contact 824s information are available at http://www.gtk.org 824s + glib-gettextize --version 824s /usr/bin/glib-gettextize (GNU glib) 2.82.4 824s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 824s This is free software; see the source for copying conditions. There is NO 824s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 824s Written by Ulrich Drepper 824s + glib-mkenums --version 824s glib-mkenums version 2.82.4 824s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 824s You may redistribute copies of glib-mkenums under the terms of 824s the GNU General Public License which can be found in the 824s GLib source package. Sources, examples and contact 824s information are available at http://www.gtk.org 824s + gobject-query tree 824s + gtester --version 824s GObject 824s gtester version 2.82.4 824s + gtester-report --version 824s gtester-report (GLib utils) version 2.82.4. 824s + cd /tmp/autopkgtest.D93pOL/autopkgtest_tmp 824s + dpkg-architecture -qDEB_HOST_MULTIARCH 824s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 824s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 824s typelib: GLib-2.0 824s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 825s + gi-decompile-typelib -o GLib.gir GLib.typelib 825s autopkgtest [16:32:43]: test libglib2.0-dev: -----------------------] 826s autopkgtest [16:32:44]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 826s libglib2.0-dev PASS (superficial) 827s autopkgtest [16:32:45]: test installed-tests: preparing testbed 992s autopkgtest [16:35:30]: testbed dpkg architecture: arm64 992s autopkgtest [16:35:30]: testbed apt version: 2.9.18 992s autopkgtest [16:35:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup 993s autopkgtest [16:35:31]: testbed release detected to be: plucky 993s autopkgtest [16:35:31]: updating testbed package index (apt update) 994s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 994s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 994s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 994s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 994s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [73.5 kB] 994s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [782 kB] 994s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 994s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 994s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [98.4 kB] 994s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 994s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [675 kB] 994s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.3 kB] 995s Fetched 1792 kB in 1s (1936 kB/s) 995s Reading package lists... 996s Reading package lists... 996s Building dependency tree... 996s Reading state information... 997s Calculating upgrade... 997s The following packages will be upgraded: 997s base-passwd bash-completion 998s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 998s Need to get 267 kB of archives. 998s After this operation, 143 kB of additional disk space will be used. 998s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.6 [53.6 kB] 998s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.16.0-1 [214 kB] 998s Preconfiguring packages ... 998s Fetched 267 kB in 0s (572 kB/s) 999s (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 ... 80060 files and directories currently installed.) 999s Preparing to unpack .../base-passwd_3.6.6_arm64.deb ... 999s Unpacking base-passwd (3.6.6) over (3.6.5) ... 999s Setting up base-passwd (3.6.6) ... 999s (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 ... 80060 files and directories currently installed.) 999s Preparing to unpack .../bash-completion_1%3a2.16.0-1_all.deb ... 999s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 999s Setting up bash-completion (1:2.16.0-1) ... 999s Processing triggers for man-db (2.13.0-1) ... 1001s Reading package lists... 1001s Building dependency tree... 1001s Reading state information... 1002s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 1002s autopkgtest [16:35:40]: upgrading testbed (apt dist-upgrade and autopurge) 1002s Reading package lists... 1002s Building dependency tree... 1002s Reading state information... 1003s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1003s Starting 2 pkgProblemResolver with broken count: 0 1003s Done 1004s Entering ResolveByKeep 1005s 1006s The following packages were automatically installed and are no longer required: 1006s python3.12 python3.12-minimal 1006s Use 'sudo apt autoremove' to remove them. 1006s The following NEW packages will be installed: 1006s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 1006s The following packages will be upgraded: 1006s libpython3-stdlib python3 python3-minimal 1007s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 1007s Need to get 5992 kB of archives. 1007s After this operation, 24.3 MB of additional disk space will be used. 1007s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 1007s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 1007s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.13.1-1~exp2 [27.6 kB] 1007s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.13.1-1~exp2 [23.9 kB] 1007s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 1007s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 1007s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.13.1-1~exp2 [10.2 kB] 1008s Fetched 5992 kB in 1s (6527 kB/s) 1008s Selecting previously unselected package libpython3.13-minimal:arm64. 1008s (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.) 1008s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_arm64.deb ... 1008s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 1008s Selecting previously unselected package python3.13-minimal. 1008s Preparing to unpack .../python3.13-minimal_3.13.1-2_arm64.deb ... 1008s Unpacking python3.13-minimal (3.13.1-2) ... 1008s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 1008s Setting up python3.13-minimal (3.13.1-2) ... 1009s (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 ... 80505 files and directories currently installed.) 1009s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_arm64.deb ... 1009s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 1009s Setting up python3-minimal (3.13.1-1~exp2) ... 1010s (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 ... 80505 files and directories currently installed.) 1010s Preparing to unpack .../python3_3.13.1-1~exp2_arm64.deb ... 1010s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 1010s Selecting previously unselected package libpython3.13-stdlib:arm64. 1010s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_arm64.deb ... 1010s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 1010s Selecting previously unselected package python3.13. 1010s Preparing to unpack .../python3.13_3.13.1-2_arm64.deb ... 1010s Unpacking python3.13 (3.13.1-2) ... 1010s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_arm64.deb ... 1010s Unpacking libpython3-stdlib:arm64 (3.13.1-1~exp2) over (3.12.8-1) ... 1010s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 1010s Setting up libpython3-stdlib:arm64 (3.13.1-1~exp2) ... 1010s Setting up python3.13 (3.13.1-2) ... 1011s Setting up python3 (3.13.1-1~exp2) ... 1011s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1011s for fn in glob1(directory, "%s.*" % fname): 1012s Processing triggers for man-db (2.13.0-1) ... 1012s Processing triggers for systemd (257-2ubuntu1) ... 1012s Reading package lists... 1013s Building dependency tree... 1013s Reading state information... 1013s Starting pkgProblemResolver with broken count: 0 1013s Starting 2 pkgProblemResolver with broken count: 0 1013s Done 1014s The following packages will be REMOVED: 1014s python3.12* python3.12-minimal* 1014s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 1014s After this operation, 8710 kB disk space will be freed. 1014s (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 ... 80922 files and directories currently installed.) 1014s Removing python3.12 (3.12.8-3) ... 1014s Removing python3.12-minimal (3.12.8-3) ... 1015s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1015s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 1015s Processing triggers for man-db (2.13.0-1) ... 1015s Processing triggers for systemd (257-2ubuntu1) ... 1016s (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 ... 80894 files and directories currently installed.) 1016s Purging configuration files for python3.12-minimal (3.12.8-3) ... 1018s Reading package lists... 1019s Building dependency tree... 1019s Reading state information... 1019s Starting pkgProblemResolver with broken count: 0 1019s Starting 2 pkgProblemResolver with broken count: 0 1019s Done 1020s The following NEW packages will be installed: 1020s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 1020s libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin libgirepository-2.0-0 1020s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 1020s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 1020s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 1020s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1020s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1020s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 1020s native-architecture python3-dbusmock python3-packaging python3.12 1020s python3.12-minimal tzdata-legacy x11-common x11-xkb-utils xserver-common 1020s xvfb 1020s 0 upgraded, 54 newly installed, 0 to remove and 0 not upgraded. 1020s Need to get 17.6 MB of archives. 1020s After this operation, 89.7 MB of additional disk space will be used. 1020s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-minimal arm64 3.12.8-3 [2236 kB] 1021s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12 arm64 3.12.8-3 [667 kB] 1021s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dbus-x11 arm64 1.14.10-4ubuntu5 [23.2 kB] 1021s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 desktop-file-utils arm64 0.28-1 [53.6 kB] 1021s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 1021s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.4-1 [72.2 kB] 1021s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.4-1 [103 kB] 1021s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 gnome-desktop-testing arm64 2021.1-4 [16.2 kB] 1021s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm-radeon1 arm64 2.4.123-1 [20.8 kB] 1021s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontenc1 arm64 1:1.1.8-1build1 [13.9 kB] 1021s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-server0 arm64 1.23.0-1 [35.7 kB] 1021s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-randr0 arm64 1.17.0-2 [18.5 kB] 1021s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libglapi-mesa arm64 24.2.8-1ubuntu1 [60.0 kB] 1021s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libx11-xcb1 arm64 2:1.8.10-2 [8020 B] 1021s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri2-0 arm64 1.17.0-2 [7418 B] 1021s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri3-0 arm64 1.17.0-2 [7606 B] 1021s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-present0 arm64 1.17.0-2 [6224 B] 1021s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-sync1 arm64 1.17.0-2 [9688 B] 1021s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-xfixes0 arm64 1.17.0-2 [10.6 kB] 1021s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libxshmfence1 arm64 1.3-1build5 [4938 B] 1021s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 mesa-libgallium arm64 24.2.8-1ubuntu1 [9039 kB] 1021s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libgbm1 arm64 24.2.8-1ubuntu1 [32.9 kB] 1021s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 1021s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.4-1 [129 kB] 1021s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libvulkan1 arm64 1.3.296.0-1 [153 kB] 1021s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1-mesa-dri arm64 24.2.8-1ubuntu1 [33.5 kB] 1021s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-bin arm64 2.82.4-1 [97.8 kB] 1021s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.82.4-1 [18.1 kB] 1021s Get:29 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-dbusmock all 0.34.0-1 [92.2 kB] 1021s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 1021s Get:31 http://ftpmaster.internal/ubuntu plucky/universe arm64 libglib2.0-tests arm64 2.82.4-1 [2088 kB] 1021s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-glx0 arm64 1.17.0-2 [25.5 kB] 1021s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 1021s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfixes3 arm64 1:6.0.0-2build1 [11.2 kB] 1021s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libxxf86vm1 arm64 1:1.1.4-1build4 [9130 B] 1021s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx-mesa0 arm64 24.2.8-1ubuntu1 [164 kB] 1021s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 1021s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libice6 arm64 2:1.1.1-1 [42.3 kB] 1021s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 1021s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libsm6 arm64 2:1.2.4-1 [16.4 kB] 1021s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libxt6t64 arm64 1:1.2.1-1.2build1 [168 kB] 1021s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libxmu6 arm64 2:1.1.3-3build2 [47.5 kB] 1021s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 1021s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 libxaw7 arm64 2:1.0.16-1 [184 kB] 1021s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfont2 arm64 1:2.0.6-1build1 [88.7 kB] 1021s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 libxkbfile1 arm64 1:1.1.0-1build4 [69.4 kB] 1021s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 1021s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrandr2 arm64 2:1.5.4-1 [19.6 kB] 1021s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-xkb-utils arm64 7.7+9 [165 kB] 1021s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 1021s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 libglvnd0 arm64 1.7.0-1build1 [60.6 kB] 1021s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx0 arm64 1.7.0-1build1 [33.2 kB] 1021s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1 arm64 1.7.0-1build1 [106 kB] 1021s Get:54 http://ftpmaster.internal/ubuntu plucky/universe arm64 xvfb arm64 2:21.1.14-2ubuntu1 [868 kB] 1022s Fetched 17.6 MB in 1s (11.9 MB/s) 1022s Selecting previously unselected package python3.12-minimal. 1022s (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 ... 80894 files and directories currently installed.) 1022s Preparing to unpack .../00-python3.12-minimal_3.12.8-3_arm64.deb ... 1022s Unpacking python3.12-minimal (3.12.8-3) ... 1022s Selecting previously unselected package python3.12. 1022s Preparing to unpack .../01-python3.12_3.12.8-3_arm64.deb ... 1022s Unpacking python3.12 (3.12.8-3) ... 1022s Selecting previously unselected package dbus-x11. 1022s Preparing to unpack .../02-dbus-x11_1.14.10-4ubuntu5_arm64.deb ... 1022s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 1022s Selecting previously unselected package desktop-file-utils. 1022s Preparing to unpack .../03-desktop-file-utils_0.28-1_arm64.deb ... 1022s Unpacking desktop-file-utils (0.28-1) ... 1022s Selecting previously unselected package native-architecture. 1022s Preparing to unpack .../04-native-architecture_0.2.3_all.deb ... 1022s Unpacking native-architecture (0.2.3) ... 1022s Selecting previously unselected package libgirepository-2.0-0:arm64. 1022s Preparing to unpack .../05-libgirepository-2.0-0_2.82.4-1_arm64.deb ... 1022s Unpacking libgirepository-2.0-0:arm64 (2.82.4-1) ... 1022s Selecting previously unselected package girepository-tools:arm64. 1022s Preparing to unpack .../06-girepository-tools_2.82.4-1_arm64.deb ... 1022s Unpacking girepository-tools:arm64 (2.82.4-1) ... 1022s Selecting previously unselected package gnome-desktop-testing. 1022s Preparing to unpack .../07-gnome-desktop-testing_2021.1-4_arm64.deb ... 1022s Unpacking gnome-desktop-testing (2021.1-4) ... 1022s Selecting previously unselected package libdrm-radeon1:arm64. 1022s Preparing to unpack .../08-libdrm-radeon1_2.4.123-1_arm64.deb ... 1022s Unpacking libdrm-radeon1:arm64 (2.4.123-1) ... 1022s Selecting previously unselected package libfontenc1:arm64. 1022s Preparing to unpack .../09-libfontenc1_1%3a1.1.8-1build1_arm64.deb ... 1022s Unpacking libfontenc1:arm64 (1:1.1.8-1build1) ... 1022s Selecting previously unselected package libwayland-server0:arm64. 1022s Preparing to unpack .../10-libwayland-server0_1.23.0-1_arm64.deb ... 1022s Unpacking libwayland-server0:arm64 (1.23.0-1) ... 1022s Selecting previously unselected package libxcb-randr0:arm64. 1022s Preparing to unpack .../11-libxcb-randr0_1.17.0-2_arm64.deb ... 1022s Unpacking libxcb-randr0:arm64 (1.17.0-2) ... 1022s Selecting previously unselected package libglapi-mesa:arm64. 1022s Preparing to unpack .../12-libglapi-mesa_24.2.8-1ubuntu1_arm64.deb ... 1022s Unpacking libglapi-mesa:arm64 (24.2.8-1ubuntu1) ... 1022s Selecting previously unselected package libx11-xcb1:arm64. 1022s Preparing to unpack .../13-libx11-xcb1_2%3a1.8.10-2_arm64.deb ... 1022s Unpacking libx11-xcb1:arm64 (2:1.8.10-2) ... 1022s Selecting previously unselected package libxcb-dri2-0:arm64. 1022s Preparing to unpack .../14-libxcb-dri2-0_1.17.0-2_arm64.deb ... 1022s Unpacking libxcb-dri2-0:arm64 (1.17.0-2) ... 1022s Selecting previously unselected package libxcb-dri3-0:arm64. 1023s Preparing to unpack .../15-libxcb-dri3-0_1.17.0-2_arm64.deb ... 1023s Unpacking libxcb-dri3-0:arm64 (1.17.0-2) ... 1023s Selecting previously unselected package libxcb-present0:arm64. 1023s Preparing to unpack .../16-libxcb-present0_1.17.0-2_arm64.deb ... 1023s Unpacking libxcb-present0:arm64 (1.17.0-2) ... 1023s Selecting previously unselected package libxcb-sync1:arm64. 1023s Preparing to unpack .../17-libxcb-sync1_1.17.0-2_arm64.deb ... 1023s Unpacking libxcb-sync1:arm64 (1.17.0-2) ... 1023s Selecting previously unselected package libxcb-xfixes0:arm64. 1023s Preparing to unpack .../18-libxcb-xfixes0_1.17.0-2_arm64.deb ... 1023s Unpacking libxcb-xfixes0:arm64 (1.17.0-2) ... 1023s Selecting previously unselected package libxshmfence1:arm64. 1023s Preparing to unpack .../19-libxshmfence1_1.3-1build5_arm64.deb ... 1023s Unpacking libxshmfence1:arm64 (1.3-1build5) ... 1023s Selecting previously unselected package mesa-libgallium:arm64. 1023s Preparing to unpack .../20-mesa-libgallium_24.2.8-1ubuntu1_arm64.deb ... 1023s Unpacking mesa-libgallium:arm64 (24.2.8-1ubuntu1) ... 1023s Selecting previously unselected package libgbm1:arm64. 1023s Preparing to unpack .../21-libgbm1_24.2.8-1ubuntu1_arm64.deb ... 1023s Unpacking libgbm1:arm64 (24.2.8-1ubuntu1) ... 1023s Selecting previously unselected package python3-packaging. 1023s Preparing to unpack .../22-python3-packaging_24.2-1_all.deb ... 1023s Unpacking python3-packaging (24.2-1) ... 1023s Selecting previously unselected package libgio-2.0-dev-bin. 1023s Preparing to unpack .../23-libgio-2.0-dev-bin_2.82.4-1_arm64.deb ... 1023s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 1023s Selecting previously unselected package libvulkan1:arm64. 1023s Preparing to unpack .../24-libvulkan1_1.3.296.0-1_arm64.deb ... 1023s Unpacking libvulkan1:arm64 (1.3.296.0-1) ... 1023s Selecting previously unselected package libgl1-mesa-dri:arm64. 1023s Preparing to unpack .../25-libgl1-mesa-dri_24.2.8-1ubuntu1_arm64.deb ... 1023s Unpacking libgl1-mesa-dri:arm64 (24.2.8-1ubuntu1) ... 1023s Selecting previously unselected package libglib2.0-bin. 1023s Preparing to unpack .../26-libglib2.0-bin_2.82.4-1_arm64.deb ... 1023s Unpacking libglib2.0-bin (2.82.4-1) ... 1023s Selecting previously unselected package libglib2.0-dev-bin. 1023s Preparing to unpack .../27-libglib2.0-dev-bin_2.82.4-1_arm64.deb ... 1023s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 1023s Selecting previously unselected package python3-dbusmock. 1023s Preparing to unpack .../28-python3-dbusmock_0.34.0-1_all.deb ... 1023s Unpacking python3-dbusmock (0.34.0-1) ... 1023s Selecting previously unselected package tzdata-legacy. 1023s Preparing to unpack .../29-tzdata-legacy_2024b-4ubuntu1_all.deb ... 1023s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 1023s Selecting previously unselected package libglib2.0-tests. 1023s Preparing to unpack .../30-libglib2.0-tests_2.82.4-1_arm64.deb ... 1023s Unpacking libglib2.0-tests (2.82.4-1) ... 1024s Selecting previously unselected package libxcb-glx0:arm64. 1024s Preparing to unpack .../31-libxcb-glx0_1.17.0-2_arm64.deb ... 1024s Unpacking libxcb-glx0:arm64 (1.17.0-2) ... 1024s Selecting previously unselected package libxcb-shm0:arm64. 1024s Preparing to unpack .../32-libxcb-shm0_1.17.0-2_arm64.deb ... 1024s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 1024s Selecting previously unselected package libxfixes3:arm64. 1024s Preparing to unpack .../33-libxfixes3_1%3a6.0.0-2build1_arm64.deb ... 1024s Unpacking libxfixes3:arm64 (1:6.0.0-2build1) ... 1024s Selecting previously unselected package libxxf86vm1:arm64. 1024s Preparing to unpack .../34-libxxf86vm1_1%3a1.1.4-1build4_arm64.deb ... 1024s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build4) ... 1024s Selecting previously unselected package libglx-mesa0:arm64. 1024s Preparing to unpack .../35-libglx-mesa0_24.2.8-1ubuntu1_arm64.deb ... 1024s Unpacking libglx-mesa0:arm64 (24.2.8-1ubuntu1) ... 1024s Selecting previously unselected package x11-common. 1024s Preparing to unpack .../36-x11-common_1%3a7.7+23ubuntu3_all.deb ... 1024s Unpacking x11-common (1:7.7+23ubuntu3) ... 1024s Selecting previously unselected package libice6:arm64. 1024s Preparing to unpack .../37-libice6_2%3a1.1.1-1_arm64.deb ... 1024s Unpacking libice6:arm64 (2:1.1.1-1) ... 1024s Selecting previously unselected package libpixman-1-0:arm64. 1024s Preparing to unpack .../38-libpixman-1-0_0.44.0-3_arm64.deb ... 1024s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 1024s Selecting previously unselected package libsm6:arm64. 1024s Preparing to unpack .../39-libsm6_2%3a1.2.4-1_arm64.deb ... 1024s Unpacking libsm6:arm64 (2:1.2.4-1) ... 1024s Selecting previously unselected package libxt6t64:arm64. 1024s Preparing to unpack .../40-libxt6t64_1%3a1.2.1-1.2build1_arm64.deb ... 1024s Unpacking libxt6t64:arm64 (1:1.2.1-1.2build1) ... 1024s Selecting previously unselected package libxmu6:arm64. 1024s Preparing to unpack .../41-libxmu6_2%3a1.1.3-3build2_arm64.deb ... 1024s Unpacking libxmu6:arm64 (2:1.1.3-3build2) ... 1024s Selecting previously unselected package libxpm4:arm64. 1024s Preparing to unpack .../42-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 1024s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 1024s Selecting previously unselected package libxaw7:arm64. 1024s Preparing to unpack .../43-libxaw7_2%3a1.0.16-1_arm64.deb ... 1024s Unpacking libxaw7:arm64 (2:1.0.16-1) ... 1024s Selecting previously unselected package libxfont2:arm64. 1024s Preparing to unpack .../44-libxfont2_1%3a2.0.6-1build1_arm64.deb ... 1024s Unpacking libxfont2:arm64 (1:2.0.6-1build1) ... 1024s Selecting previously unselected package libxkbfile1:arm64. 1024s Preparing to unpack .../45-libxkbfile1_1%3a1.1.0-1build4_arm64.deb ... 1024s Unpacking libxkbfile1:arm64 (1:1.1.0-1build4) ... 1024s Selecting previously unselected package libxrender1:arm64. 1024s Preparing to unpack .../46-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 1024s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 1024s Selecting previously unselected package libxrandr2:arm64. 1024s Preparing to unpack .../47-libxrandr2_2%3a1.5.4-1_arm64.deb ... 1024s Unpacking libxrandr2:arm64 (2:1.5.4-1) ... 1024s Selecting previously unselected package x11-xkb-utils. 1024s Preparing to unpack .../48-x11-xkb-utils_7.7+9_arm64.deb ... 1024s Unpacking x11-xkb-utils (7.7+9) ... 1024s Selecting previously unselected package xserver-common. 1024s Preparing to unpack .../49-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 1024s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 1024s Selecting previously unselected package libglvnd0:arm64. 1024s Preparing to unpack .../50-libglvnd0_1.7.0-1build1_arm64.deb ... 1024s Unpacking libglvnd0:arm64 (1.7.0-1build1) ... 1024s Selecting previously unselected package libglx0:arm64. 1024s Preparing to unpack .../51-libglx0_1.7.0-1build1_arm64.deb ... 1024s Unpacking libglx0:arm64 (1.7.0-1build1) ... 1024s Selecting previously unselected package libgl1:arm64. 1024s Preparing to unpack .../52-libgl1_1.7.0-1build1_arm64.deb ... 1024s Unpacking libgl1:arm64 (1.7.0-1build1) ... 1024s Selecting previously unselected package xvfb. 1024s Preparing to unpack .../53-xvfb_2%3a21.1.14-2ubuntu1_arm64.deb ... 1024s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 1025s Setting up gnome-desktop-testing (2021.1-4) ... 1025s Setting up libxcb-dri3-0:arm64 (1.17.0-2) ... 1025s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 1025s Setting up python3.12-minimal (3.12.8-3) ... 1026s Setting up libwayland-server0:arm64 (1.23.0-1) ... 1026s Setting up libx11-xcb1:arm64 (2:1.8.10-2) ... 1026s Setting up native-architecture (0.2.3) ... 1026s Setting up libxcb-xfixes0:arm64 (1.17.0-2) ... 1026s Setting up desktop-file-utils (0.28-1) ... 1026s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 1026s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 1026s Setting up libgirepository-2.0-0:arm64 (2.82.4-1) ... 1026s Setting up libdrm-radeon1:arm64 (2.4.123-1) ... 1026s Setting up libglvnd0:arm64 (1.7.0-1build1) ... 1026s Setting up libxcb-glx0:arm64 (1.17.0-2) ... 1026s Setting up python3.12 (3.12.8-3) ... 1027s Setting up x11-common (1:7.7+23ubuntu3) ... 1028s Setting up libglib2.0-bin (2.82.4-1) ... 1028s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 1028s Setting up python3-dbusmock (0.34.0-1) ... 1028s Setting up tzdata-legacy (2024b-4ubuntu1) ... 1028s Setting up libxxf86vm1:arm64 (1:1.1.4-1build4) ... 1028s Setting up libxcb-present0:arm64 (1.17.0-2) ... 1028s Setting up libfontenc1:arm64 (1:1.1.8-1build1) ... 1028s Setting up python3-packaging (24.2-1) ... 1028s Setting up libxfixes3:arm64 (1:6.0.0-2build1) ... 1028s Setting up libxcb-sync1:arm64 (1.17.0-2) ... 1028s Setting up libxrandr2:arm64 (2:1.5.4-1) ... 1028s Setting up libglapi-mesa:arm64 (24.2.8-1ubuntu1) ... 1028s Setting up libvulkan1:arm64 (1.3.296.0-1) ... 1028s Setting up libxcb-dri2-0:arm64 (1.17.0-2) ... 1028s Setting up libxshmfence1:arm64 (1.3-1build5) ... 1028s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 1028s Setting up libxcb-randr0:arm64 (1.17.0-2) ... 1028s Setting up libxkbfile1:arm64 (1:1.1.0-1build4) ... 1028s Setting up libxfont2:arm64 (1:2.0.6-1build1) ... 1028s Setting up libice6:arm64 (2:1.1.1-1) ... 1028s Setting up mesa-libgallium:arm64 (24.2.8-1ubuntu1) ... 1028s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 1029s Setting up girepository-tools:arm64 (2.82.4-1) ... 1029s Setting up libgbm1:arm64 (24.2.8-1ubuntu1) ... 1029s Setting up libgl1-mesa-dri:arm64 (24.2.8-1ubuntu1) ... 1029s Setting up libsm6:arm64 (2:1.2.4-1) ... 1029s Setting up libglib2.0-dev-bin (2.82.4-1) ... 1029s Setting up libglx-mesa0:arm64 (24.2.8-1ubuntu1) ... 1029s Setting up libglx0:arm64 (1.7.0-1build1) ... 1029s Setting up libgl1:arm64 (1.7.0-1build1) ... 1029s Setting up libxt6t64:arm64 (1:1.2.1-1.2build1) ... 1029s Setting up libglib2.0-tests (2.82.4-1) ... 1029s Setting up libxmu6:arm64 (2:1.1.3-3build2) ... 1029s Setting up libxaw7:arm64 (2:1.0.16-1) ... 1029s Setting up x11-xkb-utils (7.7+9) ... 1029s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 1029s Setting up xvfb (2:21.1.14-2ubuntu1) ... 1029s Processing triggers for systemd (257-2ubuntu1) ... 1029s Processing triggers for man-db (2.13.0-1) ... 1029s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1038s autopkgtest [16:36:16]: test installed-tests: [----------------------- 1039s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 1039s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1039s group entry: ubuntu:x:1000: 1039s Environment: 1039s ADTTMP=/tmp/autopkgtest.D93pOL/autopkgtest_tmp 1039s ADT_ARTIFACTS=/tmp/autopkgtest.D93pOL/installed-tests-artifacts 1039s ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2 1039s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.D93pOL/installed-tests-artifacts 1039s AUTOPKGTEST_TESTBED_ARCH=arm64 1039s AUTOPKGTEST_TEST_ARCH=arm64 1039s AUTOPKGTEST_TMP=/tmp/autopkgtest.D93pOL/autopkgtest_tmp 1039s DEBIAN_FRONTEND=noninteractive 1039s DEB_BUILD_OPTIONS=parallel=2 1039s GIO_USE_VFS=local 1039s GIO_USE_VOLUME_MONITOR=unix 1039s HOME=/home/ubuntu 1039s LANG=C.UTF-8 1039s LOGNAME=ubuntu 1039s MAIL=/var/mail/ubuntu 1039s OLDPWD=/home/ubuntu 1039s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1039s PWD=/tmp/autopkgtest.D93pOL/build.YOD/src 1039s SHELL=/bin/bash 1039s SHLVL=1 1039s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests 1039s SUDO_GID=1000 1039s SUDO_UID=1000 1039s SUDO_USER=ubuntu 1039s TERM=linux 1039s USER=ubuntu 1039s XDG_RUNTIME_DIR=/tmp/autopkgtest.D93pOL/autopkgtest_tmp 1039s http_proxy=http://squid.internal:3128 1039s https_proxy=http://squid.internal:3128 1039s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 1039s run-with-locales: de_DE=ISO-8859-1... 1039s Character set: ISO-8859-1 1039s Source file: de_DE 1039s Output: /tmp/tmp.XWVTzY2wIY/de_DE 1040s run-with-locales: de_DE.utf8... 1040s Character set: UTF-8 1040s Source file: de_DE 1040s Output: /tmp/tmp.XWVTzY2wIY/de_DE.utf8 1042s run-with-locales: de_DE@euro.utf8... 1042s Character set: UTF-8 1042s Source file: de_DE@euro 1042s Output: /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8 1044s run-with-locales: el_GR.utf8... 1044s Character set: UTF-8 1044s Source file: el_GR 1044s Output: /tmp/tmp.XWVTzY2wIY/el_GR.utf8 1046s run-with-locales: en_GB=ISO-8859-1... 1046s Character set: ISO-8859-1 1046s Source file: en_GB 1046s Output: /tmp/tmp.XWVTzY2wIY/en_GB 1046s run-with-locales: en_GB.utf8... 1046s Character set: UTF-8 1046s Source file: en_GB 1046s Output: /tmp/tmp.XWVTzY2wIY/en_GB.utf8 1048s run-with-locales: en_US=ISO-8859-1... 1048s Character set: ISO-8859-1 1048s Source file: en_US 1048s Output: /tmp/tmp.XWVTzY2wIY/en_US 1048s run-with-locales: en_US.utf8... 1048s Character set: UTF-8 1048s Source file: en_US 1048s Output: /tmp/tmp.XWVTzY2wIY/en_US.utf8 1050s run-with-locales: es_ES.utf8... 1050s Character set: UTF-8 1050s Source file: es_ES 1050s Output: /tmp/tmp.XWVTzY2wIY/es_ES.utf8 1052s run-with-locales: fa_IR=UTF-8... 1052s Character set: UTF-8 1052s Source file: fa_IR 1052s Output: /tmp/tmp.XWVTzY2wIY/fa_IR 1054s run-with-locales: fa_IR.utf8... 1054s Character set: UTF-8 1054s Source file: fa_IR 1054s Output: /tmp/tmp.XWVTzY2wIY/fa_IR.utf8 1056s run-with-locales: fr_FR.utf8... 1056s Character set: UTF-8 1056s Source file: fr_FR 1056s Output: /tmp/tmp.XWVTzY2wIY/fr_FR.utf8 1058s run-with-locales: hr_HR.utf8... 1058s Character set: UTF-8 1058s Source file: hr_HR 1058s Output: /tmp/tmp.XWVTzY2wIY/hr_HR.utf8 1060s run-with-locales: ja_JP.utf8... 1060s Character set: UTF-8 1060s Source file: ja_JP 1060s Output: /tmp/tmp.XWVTzY2wIY/ja_JP.utf8 1061s run-with-locales: ja_JP.EUC-JP... 1061s Character set: EUC-JP 1061s Source file: ja_JP 1061s Output: /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp 1061s run-with-locales: lt_LT.utf8... 1061s Character set: UTF-8 1061s Source file: lt_LT 1061s Output: /tmp/tmp.XWVTzY2wIY/lt_LT.utf8 1063s run-with-locales: pl_PL=ISO-8859-2... 1063s Character set: ISO-8859-2 1063s Source file: pl_PL 1063s Output: /tmp/tmp.XWVTzY2wIY/pl_PL 1064s run-with-locales: pl_PL.ISO-8859-2... 1064s Character set: ISO-8859-2 1064s Source file: pl_PL 1064s Output: /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592 1064s run-with-locales: pl_PL.utf8... 1064s Character set: UTF-8 1064s Source file: pl_PL 1064s Output: /tmp/tmp.XWVTzY2wIY/pl_PL.utf8 1066s run-with-locales: ru_RU=ISO-8859-5... 1066s Character set: ISO-8859-5 1066s Source file: ru_RU 1066s Output: /tmp/tmp.XWVTzY2wIY/ru_RU 1066s run-with-locales: ru_RU.utf8... 1066s Character set: UTF-8 1066s Source file: ru_RU 1066s Output: /tmp/tmp.XWVTzY2wIY/ru_RU.utf8 1068s run-with-locales: sr_RS=UTF-8... 1068s Character set: UTF-8 1068s Source file: sr_RS 1068s Output: /tmp/tmp.XWVTzY2wIY/sr_RS 1070s run-with-locales: sr_RS@latin=UTF-8... 1070s Character set: UTF-8 1070s Source file: sr_RS@latin 1070s Output: /tmp/tmp.XWVTzY2wIY/sr_RS@latin 1072s run-with-locales: sv_SE=ISO-8859-1... 1072s Character set: ISO-8859-1 1072s Source file: sv_SE 1072s Output: /tmp/tmp.XWVTzY2wIY/sv_SE 1073s run-with-locales: sv_SE.utf8... 1073s Character set: UTF-8 1073s Source file: sv_SE 1073s Output: /tmp/tmp.XWVTzY2wIY/sv_SE.utf8 1075s run-with-locales: tr_TR=ISO-8859-9... 1075s Character set: ISO-8859-9 1075s Source file: tr_TR 1075s Output: /tmp/tmp.XWVTzY2wIY/tr_TR 1075s run-with-locales: tr_TR.utf8... 1075s Character set: UTF-8 1075s Source file: tr_TR 1075s Output: /tmp/tmp.XWVTzY2wIY/tr_TR.utf8 1077s run-with-locales: tt_RU=UTF-8... 1077s Character set: UTF-8 1077s Source file: tt_RU 1077s Output: /tmp/tmp.XWVTzY2wIY/tt_RU 1079s run-with-locales: tt_RU.utf8... 1079s Character set: UTF-8 1079s Source file: tt_RU 1079s Output: /tmp/tmp.XWVTzY2wIY/tt_RU.utf8 1081s run-with-locales: tt_RU@iqtelif=UTF-8... 1081s Character set: UTF-8 1081s Source file: tt_RU@iqtelif 1081s Output: /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif 1083s /tmp/tmp.XWVTzY2wIY 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/hr_HR.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/sv_SE 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/sv_SE/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/el_GR.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/tt_RU 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tt_RU/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/de_DE 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/de_DE/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/es_ES.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/sr_RS 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/sr_RS/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/en_US 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/en_US/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/pl_PL 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/pl_PL/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/fr_FR.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/sv_SE.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/en_GB 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/en_GB/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/fa_IR.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/tr_TR 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tr_TR/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tt_RU.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tt_RU@iqtelif/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/sr_RS@latin/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/de_DE@euro.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/fa_IR 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/fa_IR/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/en_US.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/tr_TR.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/lt_LT.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/ja_JP.eucjp/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/ru_RU.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/de_DE.utf8/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/ru_RU 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/ru_RU/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/pl_PL.iso88592/LC_NAME 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_MEASUREMENT 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_IDENTIFICATION 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_PAPER 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_CTYPE 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_TELEPHONE 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_ADDRESS 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_NUMERIC 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_MONETARY 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_TIME 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_COLLATE 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1083s /tmp/tmp.XWVTzY2wIY/en_GB.utf8/LC_NAME 1083s 1..319 1083s # Running test: glib/g-file-info-filesystem-readonly.test 1083s TAP version 14 1083s # random seed: R02Sa4430983ac2eae5c1a6772e6deff3159 1083s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1083s 1..2 1083s # Start of g-file-info-filesystem-readonly tests 1083s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1083s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1083s # End of g-file-info-filesystem-readonly tests 1083s ok - glib/g-file-info-filesystem-readonly.test 1083s # Running test: glib/win32-appinfo.test 1083s TAP version 14 1083s # random seed: R02S461f32828af71c7874ae39f69818663c 1083s 1..5 1083s # Start of appinfo tests 1083s ok 1 /appinfo/utf16-strfuncs 1083s ok 2 /appinfo/win32-extract-executable 1083s ok 3 /appinfo/win32-rundll32-fixup 1083s ok 4 /appinfo/win32-parse-filename 1083s ok 5 /appinfo/win32-utf16-conversion-fail 1083s # Start of subprocess tests 1083s # End of subprocess tests 1083s # End of appinfo tests 1083s ok - glib/win32-appinfo.test 1083s # Running test: glib/union-info.test 1083s TAP version 14 1083s # random seed: R02Sca72eb22ce4ff26e3237c70a902d6459 1083s 1..2 1083s # Start of union-info tests 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_535IZ2/union-info/basic/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_535IZ2/union-info/basic/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_535IZ2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_535IZ2/union-info/basic/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_535IZ2/union-info/basic/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_535IZ2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_535IZ2/union-info/basic/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_535IZ2/union-info/basic/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_535IZ2/union-info/basic/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_535IZ2/union-info/basic/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /union-info/basic summary: Test basic properties of GIUnionInfo 1083s ok 1 /union-info/basic 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_535IZ2/union-info/methods/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_535IZ2/union-info/methods/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_535IZ2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_535IZ2/union-info/methods/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_535IZ2/union-info/methods/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_535IZ2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_535IZ2/union-info/methods/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_535IZ2/union-info/methods/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_535IZ2/union-info/methods/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_535IZ2/union-info/methods/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1083s ok 2 /union-info/methods 1083s # End of union-info tests 1083s ok - glib/union-info.test 1083s # Running test: glib/string.test 1083s TAP version 14 1083s # random seed: R02Sff74c8dacc3d4c9057659d18454580c4 1083s 1..23 1083s # Start of string tests 1083s ok 1 /string/test-string-chunks 1083s ok 2 /string/test-string-chunk-insert 1083s ok 3 /string/test-string-new 1083s ok 4 /string/test-string-printf 1083s ok 5 /string/test-string-assign 1083s ok 6 /string/test-string-append-c 1083s ok 7 /string/test-string-append 1083s ok 8 /string/test-string-append-vprintf 1083s ok 9 /string/test-string-prepend-c 1083s ok 10 /string/test-string-prepend 1083s ok 11 /string/test-string-insert 1083s ok 12 /string/test-string-insert-unichar 1083s ok 13 /string/test-string-equal 1083s ok 14 /string/test-string-truncate 1083s ok 15 /string/test-string-overwrite 1083s ok 16 /string/test-string-nul-handling 1083s ok 17 /string/test-string-up-down 1083s ok 18 /string/test-string-set-size 1083s ok 19 /string/test-string-to-bytes 1083s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1083s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1083s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1083s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1083s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1083s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1083s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1083s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1083s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1083s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1083s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1083s # -> 4 replacements, "fd fr fals" 1083s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1083s # -> 3 replacements, "aaaaaaaaa" 1083s # 7: Replacing "a" with "" (limit 0) in "aaa" 1083s # -> 3 replacements, "" 1083s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1083s # -> 1 replacements, "bba" 1083s # 9: Replacing "" with "bar" (limit 0) in "foo" 1083s # -> 4 replacements, "barfbarobarobar" 1083s # 10: Replacing "" with "x" (limit 0) in "" 1083s # -> 1 replacements, "x" 1083s # 11: Replacing "" with "" (limit 0) in "" 1083s # -> 1 replacements, "" 1083s ok 20 /string/test-string-replace 1083s ok 21 /string/test-string-steal 1083s ok 22 /string/test-string-new-take 1083s # Start of test-string-new-take tests 1083s ok 23 /string/test-string-new-take/null 1083s # End of test-string-new-take tests 1083s # End of string tests 1083s ok - glib/string.test 1083s # Running test: glib/thread-pool-slow.test 1083s TAP version 14 1083s # random seed: R02S00569c268337d30a6031f3832c99b296 1083s 1..7 1083s # Start of threadpool tests 1083s ok 1 /threadpool/functions 1084s ok 2 /threadpool/stop-unused 1084s # slow test /threadpool/stop-unused executed in 0.51 secs 1084s ok 3 /threadpool/pools 1084s # [unsorted] ===> pushed new thread with id:38, number of threads:1, unprocessed:1 1084s # [unsorted] ===> pushed new thread with id:57, number of threads:2, unprocessed:2 1084s # [unsorted] ===> pushed new thread with id:40, number of threads:3, unprocessed:3 1084s # [unsorted] ===> pushed new thread with id:87, number of threads:4, unprocessed:4 1084s # [unsorted] ===> pushed new thread with id:51, number of threads:5, unprocessed:5 1084s # [unsorted] ===> pushed new thread with id:39, number of threads:6, unprocessed:6 1084s # [unsorted] ===> pushed new thread with id:17, number of threads:7, unprocessed:7 1084s # [unsorted] ===> pushed new thread with id:10, number of threads:8, unprocessed:8 1084s # [unsorted] ===> pushed new thread with id:86, number of threads:9, unprocessed:2 1084s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:3 1084s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:4 1084s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:5 1084s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:6 1084s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:7 1084s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:8 1084s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:9 1084s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:10 1084s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:10 1084s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:11 1084s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:11 1084s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:12 1084s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:13 1084s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:14 1084s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:15 1084s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:16 1084s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:17 1084s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:18 1084s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:19 1084s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:20 1084s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:21 1084s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:22 1084s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:23 1084s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:24 1084s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:25 1084s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:26 1084s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:27 1084s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:28 1084s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:29 1084s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:30 1084s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:31 1084s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:32 1084s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:33 1084s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:34 1084s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:35 1084s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:36 1084s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:37 1084s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:38 1084s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:39 1084s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:40 1084s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:41 1084s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:42 1084s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:43 1084s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:44 1084s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:45 1084s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:46 1084s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:47 1084s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:48 1084s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:49 1084s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:50 1084s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:51 1084s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:52 1084s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:53 1084s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:54 1084s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:55 1084s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:56 1084s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:57 1084s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:58 1084s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:59 1084s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:60 1084s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:61 1084s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:62 1084s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:63 1084s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:64 1084s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:65 1084s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:66 1084s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:67 1084s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:68 1084s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:69 1084s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:70 1084s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:71 1084s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:72 1084s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:73 1084s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:74 1084s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:75 1084s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:76 1084s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:77 1084s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:78 1084s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:79 1084s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:80 1084s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:81 1084s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:82 1084s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:83 1084s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:84 1084s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:85 1084s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:86 1084s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:87 1084s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:88 1084s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:89 1084s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:90 1084s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:91 1084s ok 4 /threadpool/no-sort 1084s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:1 1084s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:2 1084s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:3 1084s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:4 1084s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:5 1084s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:6 1084s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:7 1084s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:8 1084s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:9 1084s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:10 1084s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:11 1084s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:12 1084s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:13 1084s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:14 1084s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:15 1084s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:16 1084s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:17 1084s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:18 1084s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:19 1084s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:20 1084s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:21 1084s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:22 1084s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:23 1084s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:24 1084s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:25 1084s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:26 1084s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:27 1084s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:28 1084s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:29 1084s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:30 1084s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:31 1084s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:32 1084s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:33 1084s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:34 1084s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:35 1084s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:36 1084s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:37 1084s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:38 1084s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:39 1084s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:40 1084s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:41 1084s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:42 1084s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:43 1084s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:44 1084s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:45 1084s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:46 1084s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:47 1084s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:48 1084s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:49 1084s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:50 1084s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:51 1084s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:52 1084s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:53 1084s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:54 1084s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:55 1084s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:56 1084s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:57 1084s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:58 1084s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:59 1084s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:60 1084s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:61 1084s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:62 1084s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:63 1084s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:64 1084s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:65 1084s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:66 1084s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:67 1084s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:68 1084s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:69 1084s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:70 1084s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:71 1084s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:72 1084s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:73 1084s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:74 1084s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:75 1084s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:76 1084s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:77 1084s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:78 1084s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:79 1084s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:80 1084s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:81 1084s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:82 1084s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:83 1084s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:84 1084s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:85 1084s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:86 1084s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:87 1084s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:88 1084s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:89 1084s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:90 1084s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:91 1084s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:92 1084s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:93 1084s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:94 1084s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:95 1084s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:96 1084s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:97 1084s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:98 1084s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:99 1084s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:100 1084s # Starting thread pool processing 1084s ok 5 /threadpool/sort 1084s ok 6 /threadpool/stop-unused-multiple 1084s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1084s # Pool idle thread count: 0, unprocessed jobs: 50 1085s # Pool idle thread count: 0, unprocessed jobs: 0 1085s # Pool idle thread count: 0, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1088s # Pool idle thread count: 10, unprocessed jobs: 0 1088s # Pool idle thread count: 10, unprocessed jobs: 0 1088s # Executing: glib/thread-pool-slow.test 1088s # Pool idle thread count: 10, unprocessed jobs: 0 1088s # Pool idle thread count: 10, unprocessed jobs: 0 1089s # Pool idle thread count: 10, unprocessed jobs: 0 1089s # Pool idle thread count: 10, unprocessed jobs: 0 1089s # Pool idle thread count: 10, unprocessed jobs: 0 1089s # Pool idle thread count: 10, unprocessed jobs: 0 1090s # Pool idle thread count: 10, unprocessed jobs: 0 1090s # Pool idle thread count: 10, unprocessed jobs: 0 1090s # Pool idle thread count: 10, unprocessed jobs: 0 1090s # Pool idle thread count: 10, unprocessed jobs: 0 1091s # Pool idle thread count: 10, unprocessed jobs: 0 1091s # Pool idle thread count: 10, unprocessed jobs: 0 1091s # Pool idle thread count: 10, unprocessed jobs: 0 1091s # Pool idle thread count: 10, unprocessed jobs: 0 1092s # Pool idle thread count: 10, unprocessed jobs: 0 1092s # Pool idle thread count: 10, unprocessed jobs: 0 1092s # Pool idle thread count: 10, unprocessed jobs: 0 1092s # Pool idle thread count: 10, unprocessed jobs: 0 1093s # Pool idle thread count: 10, unprocessed jobs: 0 1093s # Pool idle thread count: 10, unprocessed jobs: 0 1093s # Executing: glib/thread-pool-slow.test 1093s # Pool idle thread count: 10, unprocessed jobs: 2 1093s # Pool idle thread count: 10, unprocessed jobs: 2 1093s # Pool idle thread count: 8, unprocessed jobs: 0 1093s # Pool idle thread count: 8, unprocessed jobs: 0 1094s # Pool idle thread count: 10, unprocessed jobs: 0 1094s # Pool idle thread count: 10, unprocessed jobs: 0 1094s # Pool idle thread count: 10, unprocessed jobs: 0 1094s # Pool idle thread count: 10, unprocessed jobs: 0 1095s # Pool idle thread count: 10, unprocessed jobs: 0 1095s # Pool idle thread count: 10, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1096s # Pool idle thread count: 2, unprocessed jobs: 0 1096s # Pool idle thread count: 2, unprocessed jobs: 0 1096s # Pool idle thread count: 2, unprocessed jobs: 0 1096s # Pool idle thread count: 2, unprocessed jobs: 0 1097s # Pool idle thread count: 2, unprocessed jobs: 0 1097s # Pool idle thread count: 2, unprocessed jobs: 0 1097s # Pool idle thread count: 2, unprocessed jobs: 0 1097s # Pool idle thread count: 2, unprocessed jobs: 0 1098s # Pool idle thread count: 2, unprocessed jobs: 0 1098s # Pool idle thread count: 2, unprocessed jobs: 0 1098s # Executing: glib/thread-pool-slow.test 1098s # Pool idle thread count: 2, unprocessed jobs: 0 1098s # Pool idle thread count: 2, unprocessed jobs: 0 1099s # Pool idle thread count: 2, unprocessed jobs: 0 1099s # Pool idle thread count: 2, unprocessed jobs: 0 1099s # Pool idle thread count: 2, unprocessed jobs: 0 1099s # Pool idle thread count: 2, unprocessed jobs: 0 1100s # Pool idle thread count: 2, unprocessed jobs: 0 1100s # Pool idle thread count: 2, unprocessed jobs: 0 1100s # Pool idle thread count: 2, unprocessed jobs: 0 1100s # Pool idle thread count: 2, unprocessed jobs: 0 1101s # Pool idle thread count: 2, unprocessed jobs: 0 1101s # Pool idle thread count: 2, unprocessed jobs: 0 1101s # Pool idle thread count: 2, unprocessed jobs: 0 1101s # Pool idle thread count: 2, unprocessed jobs: 0 1102s # Pool idle thread count: 2, unprocessed jobs: 0 1102s # Pool idle thread count: 2, unprocessed jobs: 0 1102s # Pool idle thread count: 2, unprocessed jobs: 0 1102s # Pool idle thread count: 2, unprocessed jobs: 0 1103s # Pool idle thread count: 2, unprocessed jobs: 0 1103s # Pool idle thread count: 2, unprocessed jobs: 0 1103s # Executing: glib/thread-pool-slow.test 1103s # Pool idle thread count: 2, unprocessed jobs: 0 1103s # Pool idle thread count: 2, unprocessed jobs: 0 1104s ok 7 /threadpool/idle-time 1104s # slow test /threadpool/idle-time executed in 19.53 secs 1104s # End of threadpool tests 1104s ok - glib/thread-pool-slow.test 1104s # Running test: glib/async-close-output-stream.test 1104s TAP version 14 1104s # random seed: R02S7ba7358d1195489a66ede3e3a13b4421 1104s 1..3 1104s # Start of close-async tests 1104s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1104s ok 1 /close-async/without-flush 1104s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1104s ok 2 /close-async/with-flush 1104s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1104s ok 3 /close-async/with-async-flush 1104s # End of close-async tests 1104s ok - glib/async-close-output-stream.test 1104s # Running test: glib/protocol.test 1104s TAP version 14 1104s # random seed: R02Sd70b49ca003ec6053638461f581eafd6 1104s 1..9 1104s # Start of glib tests 1104s # Start of testing tests 1104s # Start of protocol tests 1104s ok 1 /glib/testing/protocol/debug 1104s ok 2 /glib/testing/protocol/info 1104s ok 3 /glib/testing/protocol/message 1104s ok 4 /glib/testing/protocol/warning 1104s ok 5 /glib/testing/protocol/critical 1104s ok 6 /glib/testing/protocol/error 1104s ok 7 /glib/testing/protocol/gtest-message 1104s ok 8 /glib/testing/protocol/test-message 1104s ok 9 /glib/testing/protocol/test-error 1104s # End of protocol tests 1104s # End of testing tests 1104s # End of glib tests 1104s ok - glib/protocol.test 1104s # Running test: glib/fileutils.test 1104s TAP version 14 1104s # random seed: R02Sc6cd8e297044fab8a8b7ca8787e9eff8 1104s 1..27 1104s # Start of fileutils tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/paths/.dirs/runtime 1104s ok 1 /fileutils/paths 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/build-path/.dirs/runtime 1104s ok 2 /fileutils/build-path 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/build-pathv/.dirs/runtime 1104s ok 3 /fileutils/build-pathv 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/build-filename/.dirs/runtime 1104s ok 4 /fileutils/build-filename 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/build-filenamev/.dirs/runtime 1104s ok 5 /fileutils/build-filenamev 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents/.dirs/runtime 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s ok 6 /fileutils/mkdir-with-parents 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s ok 7 /fileutils/mkdir-with-parents-permission 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/format-size-for-display/.dirs/runtime 1104s ok 8 /fileutils/format-size-for-display 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/errors/.dirs/runtime 1104s ok 9 /fileutils/errors 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/basename/.dirs/runtime 1104s ok 10 /fileutils/basename 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/get-basename/.dirs/runtime 1104s ok 11 /fileutils/get-basename 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/dirname/.dirs/runtime 1104s ok 12 /fileutils/dirname 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/dir-make-tmp/.dirs/runtime 1104s ok 13 /fileutils/dir-make-tmp 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/file-open-tmp/.dirs/runtime 1104s ok 14 /fileutils/file-open-tmp 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/file-test/.dirs/runtime 1104s ok 15 /fileutils/file-test 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/mkstemp/.dirs/runtime 1104s ok 16 /fileutils/mkstemp 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/mkdtemp/.dirs/runtime 1104s ok 17 /fileutils/mkdtemp 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents/.dirs/runtime 1104s ok 18 /fileutils/get-contents 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/get-contents-large-file/.dirs/runtime 1104s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents/.dirs/runtime 1104s ok 20 /fileutils/set-contents 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/.dirs/runtime 1104s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1104s # Flags 0 and test 0 1104s # Flags 0 and test 1 1104s # Flags 0 and test 2 1104s # Flags 0 and test 3 1104s # Flags 0 and test 4 1104s # Flags 0 and test 5 1104s # Flags 1 and test 0 1104s # Flags 1 and test 1 1104s # Flags 1 and test 2 1104s # Flags 1 and test 3 1104s # Flags 1 and test 4 1104s # Flags 1 and test 5 1104s # Flags 2 and test 0 1104s # Flags 2 and test 1 1104s # Flags 2 and test 2 1104s # Flags 2 and test 3 1104s # Flags 2 and test 4 1104s # Flags 2 and test 5 1104s # Flags 3 and test 0 1104s # Flags 3 and test 1 1104s # Flags 3 and test 2 1104s # Flags 3 and test 3 1104s # Flags 3 and test 4 1104s # Flags 3 and test 5 1104s # Flags 4 and test 0 1104s # Flags 4 and test 1 1104s # Flags 4 and test 2 1104s # Flags 4 and test 3 1104s # Flags 4 and test 4 1104s # Flags 4 and test 5 1104s # Flags 5 and test 0 1104s # Flags 5 and test 1 1104s # Flags 5 and test 2 1104s # Flags 5 and test 3 1104s # Flags 5 and test 4 1104s # Flags 5 and test 5 1104s # Flags 6 and test 0 1104s # Flags 6 and test 1 1104s # Flags 6 and test 2 1104s # Flags 6 and test 3 1104s # Flags 6 and test 4 1104s # Flags 6 and test 5 1104s ok 21 /fileutils/set-contents-full 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/read-link/.dirs/runtime 1104s ok 22 /fileutils/read-link 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/stdio-wrappers/.dirs/runtime 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s ok 23 /fileutils/stdio-wrappers 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/fopen-modes/.dirs/runtime 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1104s # Testing fopen() mode 'w' 1104s # Testing fopen() mode 'r' 1104s # Testing fopen() mode 'a' 1104s # Testing fopen() mode 'w+' 1104s # Testing fopen() mode 'r+' 1104s # Testing fopen() mode 'a+' 1104s # Testing fopen() mode 'wb' 1104s # Testing fopen() mode 'rb' 1104s # Testing fopen() mode 'ab' 1104s # Testing fopen() mode 'w+b' 1104s # Testing fopen() mode 'r+b' 1104s # Testing fopen() mode 'a+b' 1104s # Testing fopen() mode 'wb+' 1104s # Testing fopen() mode 'rb+' 1104s # Testing fopen() mode 'ab+' 1104s ok 24 /fileutils/fopen-modes 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/clear-fd/.dirs/runtime 1104s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1104s # Will be closed by autocleanup: 3, -42 1104s # Testing error handling 1104s ok 25 /fileutils/clear-fd 1104s # Start of set-contents-full tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1104s ok 26 /fileutils/set-contents-full/read-only-file 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0LTZZ2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1104s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1104s # Flags 0 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s # Flags 1 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s # Flags 2 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s # Flags 3 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s # Flags 4 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s # Flags 5 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s # Flags 6 1104s # We do not have CAP_DAC_OVERRIDE or equivalent 1104s ok 27 /fileutils/set-contents-full/read-only-directory 1104s # End of set-contents-full tests 1104s # Start of clear-fd tests 1104s # Start of subprocess tests 1104s # End of subprocess tests 1104s # End of clear-fd tests 1104s # End of fileutils tests 1104s Unable to clean up temporary directory /tmp/test_fileutils_0LTZZ2/glib-file-set-contents-full-rodir-YOG3Z2: Directory not empty 1104s Unable to clean up temporary directory /tmp/test_fileutils_0LTZZ2/glib-file-set-contents-full-rodir-4AP3Z2: Directory not empty 1104s Unable to clean up temporary directory /tmp/test_fileutils_0LTZZ2/glib-file-set-contents-full-rodir-S5J3Z2: Directory not empty 1104s Unable to clean up temporary directory /tmp/test_fileutils_0LTZZ2/glib-file-set-contents-full-rodir-V712Z2: Directory not empty 1104s Unable to clean up temporary directory /tmp/test_fileutils_0LTZZ2/glib-file-set-contents-full-rodir-L992Z2: Directory not empty 1104s Unable to clean up temporary directory /tmp/test_fileutils_0LTZZ2/glib-file-set-contents-full-rodir-PG82Z2: Directory not empty 1104s Unable to clean up temporary directory /tmp/test_fileutils_0LTZZ2/glib-file-set-contents-full-rodir-VHB3Z2: Directory not empty 1104s Unable to clean up temporary directory /tmp/test_fileutils_0LTZZ2: Directory not empty 1104s ok - glib/fileutils.test 1104s # Running test: glib/hostutils.test 1104s TAP version 14 1104s # random seed: R02S08b12cd7231a6833be35d21d7044608a 1104s 1..3 1104s # Start of hostutils tests 1104s ok 1 /hostutils/to_ascii 1104s ok 2 /hostutils/to_unicode 1104s ok 3 /hostutils/is_ip_addr 1104s # End of hostutils tests 1104s ok - glib/hostutils.test 1104s # Running test: glib/dataset.test 1104s TAP version 14 1104s # random seed: R02S22766a5ba0357f8354012344a9b018a5 1104s 1..14 1104s # Start of quark tests 1104s ok 1 /quark/basic 1104s ok 2 /quark/string 1104s # End of quark tests 1104s # Start of dataset tests 1104s ok 3 /dataset/basic 1104s ok 4 /dataset/id 1104s ok 5 /dataset/full 1104s ok 6 /dataset/foreach 1104s ok 7 /dataset/destroy 1104s # End of dataset tests 1104s # Start of datalist tests 1104s ok 8 /datalist/basic 1104s ok 9 /datalist/id 1104s ok 10 /datalist/recursive-clear 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1104s ok 11 /datalist/id-remove-multiple 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1104s ok 12 /datalist/id-remove-multiple-destroy-order 1104s ok 13 /datalist/update-atomic 1104s # Start of id-remove-multiple tests 1104s ok 14 /datalist/id-remove-multiple/resize 1104s # End of id-remove-multiple tests 1104s # End of datalist tests 1104s ok - glib/dataset.test 1104s # Running test: glib/gdbus-threading.test 1104s TAP version 14 1104s # random seed: R02S04f51d4b0b46354bbb08b176061c73ab 1104s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1104s ok - glib/gdbus-threading.test 1104s # Running test: glib/cxx-14.test 1104s TAP version 14 1104s # random seed: R02S0aa5e4b7f224d4ceb4f74a80918e24b5 1104s 1..2 1104s # Start of gtask tests 1104s # 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. 1104s ok 1 /gtask/name 1104s # Start of name tests 1104s # 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. 1104s ok 2 /gtask/name/macro-wrapper 1104s # End of name tests 1104s # End of gtask tests 1104s ok - glib/cxx-14.test 1104s # Running test: glib/types.test 1104s TAP version 14 1104s # random seed: R02Sc625aec95b6cafc64e07b8397fe85b6f 1104s 1..1 1104s # Start of types tests 1104s ok 1 /types/basic_types 1104s # End of types tests 1104s ok - glib/types.test 1104s # Running test: glib/gdbus-close-pending.test 1104s TAP version 14 1104s # random seed: R02S6d6640c23950374d987a1f85fcf9606c 1104s 1..2 1104s # Start of gdbus tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/close-pending/.dirs/runtime 1104s ok 1 /gdbus/close-pending 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_KLGIZ2/gdbus/unref-pending/.dirs/runtime 1105s ok 2 /gdbus/unref-pending 1105s # End of gdbus tests 1105s ok - glib/gdbus-close-pending.test 1105s # Running test: glib/accumulator.test 1105s TAP version 14 1105s # random seed: R02S369de690af69e532ddbdeb091f13c6d9 1105s 1..1 1105s # Start of gobject tests 1105s ok 1 /gobject/accumulator 1105s # End of gobject tests 1105s ok - glib/accumulator.test 1105s # Running test: glib/utf8-performance.test 1105s TAP version 14 1105s # random seed: R02S2933c7f5401d6edabcc59bdf8a639e8a 1105s 1..36 1105s # Start of utf8 tests 1105s # Start of perf tests 1105s # Start of get_char tests 1105s # max perf: inf MB/s 1105s ok 1 /utf8/perf/get_char/ascii 1105s # max perf: inf MB/s 1105s ok 2 /utf8/perf/get_char/latin1 1105s # max perf: 160.0 MB/s 1105s ok 3 /utf8/perf/get_char/cyrillic 1105s # max perf: inf MB/s 1105s ok 4 /utf8/perf/get_char/han 1105s # End of get_char tests 1105s # Start of get_char-backwards tests 1105s # max perf: inf MB/s 1105s ok 5 /utf8/perf/get_char-backwards/ascii 1105s # max perf: inf MB/s 1105s ok 6 /utf8/perf/get_char-backwards/latin1 1105s # max perf: 160.0 MB/s 1105s ok 7 /utf8/perf/get_char-backwards/cyrillic 1105s # max perf: 156.0 MB/s 1105s ok 8 /utf8/perf/get_char-backwards/han 1105s # End of get_char-backwards tests 1105s # Start of get_char_validated tests 1105s # max perf: 43.0 MB/s 1105s ok 9 /utf8/perf/get_char_validated/ascii 1105s # max perf: inf MB/s 1105s ok 10 /utf8/perf/get_char_validated/latin1 1105s # max perf: inf MB/s 1105s ok 11 /utf8/perf/get_char_validated/cyrillic 1105s # max perf: 156.0 MB/s 1105s ok 12 /utf8/perf/get_char_validated/han 1105s # End of get_char_validated tests 1105s # Start of utf8_to_ucs4 tests 1105s # max perf: inf MB/s 1105s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1105s # max perf: 67.0 MB/s 1105s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1105s # max perf: 160.0 MB/s 1105s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1105s # max perf: 156.0 MB/s 1105s ok 16 /utf8/perf/utf8_to_ucs4/han 1105s # End of utf8_to_ucs4 tests 1105s # Start of utf8_to_ucs4-sized tests 1105s # max perf: inf MB/s 1105s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1105s # max perf: 67.0 MB/s 1105s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1105s # max perf: 160.0 MB/s 1105s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1105s # max perf: inf MB/s 1105s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1105s # End of utf8_to_ucs4-sized tests 1105s # Start of utf8_to_ucs4_fast tests 1105s # max perf: 43.0 MB/s 1105s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1105s # max perf: inf MB/s 1105s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1105s # max perf: inf MB/s 1105s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1105s # max perf: 156.0 MB/s 1105s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1105s # End of utf8_to_ucs4_fast tests 1105s # Start of utf8_to_ucs4_fast-sized tests 1105s # max perf: inf MB/s 1105s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1105s # max perf: inf MB/s 1105s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1105s # max perf: inf MB/s 1105s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1105s # max perf: 156.0 MB/s 1105s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1105s # End of utf8_to_ucs4_fast-sized tests 1105s # Start of utf8_validate tests 1105s # max perf: inf MB/s 1105s ok 29 /utf8/perf/utf8_validate/ascii 1105s # max perf: inf MB/s 1105s ok 30 /utf8/perf/utf8_validate/latin1 1105s # max perf: 160.0 MB/s 1105s ok 31 /utf8/perf/utf8_validate/cyrillic 1105s # max perf: inf MB/s 1105s ok 32 /utf8/perf/utf8_validate/han 1105s # End of utf8_validate tests 1105s # Start of utf8_validate-sized tests 1105s # max perf: inf MB/s 1105s ok 33 /utf8/perf/utf8_validate-sized/ascii 1105s # max perf: inf MB/s 1105s ok 34 /utf8/perf/utf8_validate-sized/latin1 1105s # max perf: inf MB/s 1105s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1105s # max perf: inf MB/s 1105s ok 36 /utf8/perf/utf8_validate-sized/han 1105s # End of utf8_validate-sized tests 1105s # End of perf tests 1105s # End of utf8 tests 1105s ok - glib/utf8-performance.test 1105s # Running test: glib/refcount.test 1105s TAP version 14 1105s # random seed: R02Sf25a4825bf41c44876c3b6316276493c 1105s 1..4 1105s # Start of refcount tests 1105s ok 1 /refcount/grefcount 1105s ok 2 /refcount/gatomicrefcount 1105s # Start of grefcount tests 1105s ok 3 /refcount/grefcount/saturation 1105s # End of grefcount tests 1105s # Start of gatomicrefcount tests 1105s ok 4 /refcount/gatomicrefcount/saturation 1105s # End of gatomicrefcount tests 1105s # End of refcount tests 1105s ok - glib/refcount.test 1105s # Running test: glib/relation.test 1105s TAP version 14 1105s # random seed: R02S0c4d072d4ea93882402b1f0f992aeb2b 1105s 1..1 1105s # Start of glib tests 1105s ok 1 /glib/relation 1105s # End of glib tests 1105s ok - glib/relation.test 1105s # Running test: glib/fileattributematcher.test 1105s TAP version 14 1105s # random seed: R02S024f5047ccc7a2b7ab5f7d08728d803e 1105s 1..3 1105s # Start of fileattributematcher tests 1105s ok 1 /fileattributematcher/exact 1105s ok 2 /fileattributematcher/equality 1105s ok 3 /fileattributematcher/subtract 1105s # End of fileattributematcher tests 1105s ok - glib/fileattributematcher.test 1105s # Running test: glib/gsubprocess.test 1105s TAP version 14 1105s # random seed: R02Sb31e285b0dcfec4a12c9e939a9bcc88c 1105s 1..83 1105s # Start of gsubprocess tests 1105s ok 1 /gsubprocess/noop 1105s ok 2 /gsubprocess/noop-all-to-null 1105s ok 3 /gsubprocess/noop-no-wait 1105s ok 4 /gsubprocess/noop-stdin-inherit 1105s ok 5 /gsubprocess/search-path 1105s ok 6 /gsubprocess/search-path-from-envp 1108s # Executing: glib/gsubprocess.test 1108s ok 7 /gsubprocess/signal 1108s # slow test /gsubprocess/signal executed in 3.41 secs 1108s ok 8 /gsubprocess/exit1 1108s ok 9 /gsubprocess/echo1 1108s ok 10 /gsubprocess/echo-merged 1108s ok 11 /gsubprocess/cat-utf8 1109s ok 12 /gsubprocess/cat-eof 1109s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1112s ok 13 /gsubprocess/multi1 1112s # slow test /gsubprocess/multi1 executed in 3.01 secs 1112s ok 14 /gsubprocess/communicate 1113s # Executing: glib/gsubprocess.test 1115s ok 15 /gsubprocess/terminate 1115s # slow test /gsubprocess/terminate executed in 2.95 secs 1115s ok 16 /gsubprocess/env 1115s ok 17 /gsubprocess/cwd 1115s ok 18 /gsubprocess/launcher-close 1115s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1115s ok 19 /gsubprocess/stdout-file 1115s ok 20 /gsubprocess/stdout-fd 1115s ok 21 /gsubprocess/child-setup 1115s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1115s ok 22 /gsubprocess/launcher-environment 1115s # Start of exit1 tests 1115s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1115s ok 23 /gsubprocess/exit1/cancel 1115s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1115s ok 24 /gsubprocess/exit1/cancel_in_cb 1115s # End of exit1 tests 1115s # Start of communicate tests 1115s ok 25 /gsubprocess/communicate/cancelled 1115s ok 26 /gsubprocess/communicate/async 1115s ok 27 /gsubprocess/communicate/utf8 1115s # hello world 1115s ok 28 /gsubprocess/communicate/no-pipes 1115s ok 29 /gsubprocess/communicate/separate-stderr 1115s ok 30 /gsubprocess/communicate/stdout-only 1115s # hello world 1115s ok 31 /gsubprocess/communicate/stderr-only 1115s ok 32 /gsubprocess/communicate/stdout-silence 1115s ok 33 /gsubprocess/communicate/nothing 1115s # Start of async tests 1115s ok 34 /gsubprocess/communicate/async/cancelled 1115s # hello world 1115s ok 35 /gsubprocess/communicate/async/no-pipes 1115s ok 36 /gsubprocess/communicate/async/separate-stderr 1115s ok 37 /gsubprocess/communicate/async/stdout-only 1115s # hello world 1115s ok 38 /gsubprocess/communicate/async/stderr-only 1115s ok 39 /gsubprocess/communicate/async/stdout-silence 1115s # Start of cancelled tests 1115s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1115s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1115s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1115s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1115s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1115s # End of cancelled tests 1115s # End of async tests 1115s # Start of utf8 tests 1115s ok 45 /gsubprocess/communicate/utf8/cancelled 1115s ok 46 /gsubprocess/communicate/utf8/async 1115s # hello world 1115s ok 47 /gsubprocess/communicate/utf8/no-pipes 1115s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1115s ok 49 /gsubprocess/communicate/utf8/stdout-only 1115s # hello world 1115s ok 50 /gsubprocess/communicate/utf8/stderr-only 1115s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1115s ok 52 /gsubprocess/communicate/utf8/invalid 1115s # Start of async tests 1115s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1115s # hello world 1115s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1115s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1115s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1115s # hello world 1115s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1115s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1115s ok 59 /gsubprocess/communicate/utf8/async/invalid 1115s # Start of cancelled tests 1115s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1115s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1115s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1115s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1115s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1115s # End of cancelled tests 1115s # End of async tests 1115s # Start of cancelled tests 1115s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1115s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1115s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1115s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1115s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1115s # End of cancelled tests 1115s # End of utf8 tests 1115s # Start of cancelled tests 1115s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1115s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1115s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1115s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1115s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1115s # End of cancelled tests 1115s # End of communicate tests 1115s # Start of env tests 1115s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1115s ok 75 /gsubprocess/env/inherit 1115s # End of env tests 1115s # Start of pass-fd tests 1115s ok 76 /gsubprocess/pass-fd/basic 1115s ok 77 /gsubprocess/pass-fd/empty-child-setup 1115s ok 78 /gsubprocess/pass-fd/inherit-fds 1115s # End of pass-fd tests 1115s # Start of fd-conflation tests 1115s ok 79 /gsubprocess/fd-conflation/basic 1115s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1115s ok 81 /gsubprocess/fd-conflation/inherit-fds 1115s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1115s # End of fd-conflation tests 1115s # Start of exit-status tests 1115s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1115s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1115s ok 83 /gsubprocess/exit-status/trapped 1115s # End of exit-status tests 1115s # End of gsubprocess tests 1115s ok - glib/gsubprocess.test 1115s # Running test: glib/atomic.test 1115s TAP version 14 1115s # random seed: R02S748a3df1caf56c1dae3783457132c47c 1115s 1..2 1115s # Start of atomic tests 1115s ok 1 /atomic/types 1115s ok 2 /atomic/threaded 1115s # End of atomic tests 1115s ok - glib/atomic.test 1115s # Running test: glib/macros-c-11.test 1115s TAP version 14 1115s # random seed: R02Sc312cb077e754eda699a2eb764e03aa4 1115s 1..4 1115s # Start of C tests 1115s ok 1 /C/standard-11 1115s # End of C tests 1115s # Start of alignof tests 1115s ok 2 /alignof/fallback 1115s # End of alignof tests 1115s # Start of assert tests 1115s ok 3 /assert/static 1115s # End of assert tests 1115s # Start of struct tests 1115s ok 4 /struct/sizeof_member 1115s # End of struct tests 1115s ok - glib/macros-c-11.test 1115s # Running test: glib/unix-mounts.test 1115s TAP version 14 1115s # random seed: R02S7c3883615a188553f3377584e4898640 1115s 1..4 1115s # Start of unix-mounts tests 1115s ok 1 /unix-mounts/is-system-fs-type 1115s ok 2 /unix-mounts/is-system-device-path 1115s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1115s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1115s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1115s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1115s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1115s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1115s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1115s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1115s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1115s ok 3 /unix-mounts/get-mount-points 1115s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1115s ok 4 /unix-mounts/get-mount-entries 1115s # End of unix-mounts tests 1115s ok - glib/unix-mounts.test 1115s # Running test: glib/gmenumodel.test 1115s TAP version 14 1115s # random seed: R02Se69e87e106d31819532d51a9ef37a8a9 1115s 1..15 1115s # Start of gmenu tests 1116s ok 1 /gmenu/equality 1116s # slow test /gmenu/equality executed in 0.70 secs 1117s ok 2 /gmenu/random 1117s # slow test /gmenu/random executed in 0.77 secs 1117s ok 3 /gmenu/attributes 1117s ok 4 /gmenu/links 1117s ok 5 /gmenu/mutable 1117s ok 6 /gmenu/convenience 1117s ok 7 /gmenu/menuitem 1117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1117s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1117s ok 8 /gmenu/input-validation 1117s # Start of dbus tests 1117s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1118s ok 9 /gmenu/dbus/roundtrip 1118s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1118s # Executing: glib/gmenumodel.test 1118s ok 10 /gmenu/dbus/subscriptions 1119s ok 11 /gmenu/dbus/threaded 1119s # slow test /gmenu/dbus/threaded executed in 0.87 secs 1119s # Start of peer tests 1120s ok 12 /gmenu/dbus/peer/roundtrip 1120s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1121s ok 13 /gmenu/dbus/peer/subscriptions 1121s # End of peer tests 1121s # Start of export tests 1121s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1121s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1121s ok 14 /gmenu/dbus/export/error-handling 1121s # End of export tests 1121s # End of dbus tests 1121s # Start of attributes tests 1121s ok 15 /gmenu/attributes/iterate 1121s # End of attributes tests 1121s # End of gmenu tests 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s ok - glib/gmenumodel.test 1121s # Running test: glib/atomic-c-99.test 1121s TAP version 14 1121s # random seed: R02S526690017d5d66b8ac2ee71a216043ac 1121s 1..2 1121s # Start of atomic tests 1121s ok 1 /atomic/types 1121s ok 2 /atomic/threaded 1121s # End of atomic tests 1121s ok - glib/atomic-c-99.test 1121s # Running test: glib/logging.test 1121s TAP version 14 1121s # random seed: R02S26e7646052f4c1c01ac42b2af4c99ae5 1121s 1..17 1121s # Start of logging tests 1121s ok 1 /logging/default-handler 1121s ok 2 /logging/warnings 1121s ok 3 /logging/fatal-log-mask 1121s # bu-DEBUG: message 1121s # ba-DEBUG: message 1121s # ba-INFO: message 1121s ok 4 /logging/set-handler 1121s ok 5 /logging/print-handler 1121s ok 6 /logging/printerr-handler 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1121s # The Log Message Handler 1121s # 1121s # The Good Fail Message Handler 1121s # 1121s ok 7 /logging/653052 1121s ok 8 /logging/gibberish 1121s # Start of default-handler tests 1121s # Start of subprocess tests 1121s # End of subprocess tests 1121s # End of default-handler tests 1121s # End of logging tests 1121s # Start of structured-logging tests 1121s ok 9 /structured-logging/no-state 1121s ok 10 /structured-logging/some-state 1121s ok 11 /structured-logging/robustness 1121s ok 12 /structured-logging/roundtrip1 1121s ok 13 /structured-logging/roundtrip2 1121s ok 14 /structured-logging/roundtrip3 1121s ok 15 /structured-logging/variant1 1121s ok 16 /structured-logging/variant2 1121s ok 17 /structured-logging/set-writer-func-twice 1121s # End of structured-logging tests 1121s ok - glib/logging.test 1121s # Running test: glib/gdbus-proxy-unique-name.test 1121s TAP version 14 1121s # random seed: R02Sc11a444480eedd6675eca86fe1c3d553 1121s 1..1 1121s # Start of gdbus tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_G7XNZ2/gdbus/proxy-unique-name/.dirs/runtime 1121s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s ok 1 /gdbus/proxy-unique-name 1121s # End of gdbus tests 1121s ok - glib/gdbus-proxy-unique-name.test 1121s # Running test: glib/network-monitor.test 1121s TAP version 14 1121s # random seed: R02S66610f0b20190585f86bc3be1a1ee01f 1121s 1..4 1121s # Start of network-monitor tests 1121s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1121s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1121s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1121s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1121s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1121s ok 1 /network-monitor/default 1121s ok 2 /network-monitor/remove_default 1121s ok 3 /network-monitor/add_networks 1121s ok 4 /network-monitor/remove_networks 1121s # End of network-monitor tests 1121s ok - glib/network-monitor.test 1121s # Running test: glib/glistmodel.test 1121s TAP version 14 1121s # random seed: R02Sf04f342b2298ec59989a2d9483fe10cf 1121s 1..18 1121s # Start of glistmodel tests 1121s # Start of store tests 1121s ok 1 /glistmodel/store/properties 1121s ok 2 /glistmodel/store/non-gobjects 1121s ok 3 /glistmodel/store/boundaries 1121s ok 4 /glistmodel/store/refcounts 1121s ok 5 /glistmodel/store/sorted 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1121s ok 6 /glistmodel/store/splice-replace-middle 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1121s ok 7 /glistmodel/store/splice-replace-all 1121s ok 8 /glistmodel/store/splice-noop 1121s ok 9 /glistmodel/store/splice-remove-multiple 1121s ok 10 /glistmodel/store/splice-add-multiple 1121s ok 11 /glistmodel/store/splice-wrong-type 1121s ok 12 /glistmodel/store/item-type 1121s ok 13 /glistmodel/store/remove-all 1121s ok 14 /glistmodel/store/sort 1121s ok 15 /glistmodel/store/get-item-cache 1121s ok 16 /glistmodel/store/items-changed 1121s ok 17 /glistmodel/store/past-end 1121s ok 18 /glistmodel/store/find 1121s # End of store tests 1121s # End of glistmodel tests 1121s ok - glib/glistmodel.test 1121s # Running test: glib/function-info.test 1121s TAP version 14 1121s # random seed: R02Sf6ade8a2757ca361f2a6797cd813a87d 1121s 1..1 1121s # Start of function-info tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_IL7OZ2/function-info/invoker/.dirs/runtime 1121s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1121s # /function-info/invoker summary: Test preparing a function invoker 1121s ok 1 /function-info/invoker 1121s # End of function-info tests 1121s ok - glib/function-info.test 1121s # Running test: glib/completion.test 1121s TAP version 14 1121s # random seed: R02S845694af0d33ddfc670f16f5889b12cd 1121s 1..1 1121s # Start of completion tests 1121s ok 1 /completion/test-completion 1121s # End of completion tests 1121s ok - glib/completion.test 1121s # Running test: glib/gdbus-test-codegen-old.test 1121s TAP version 14 1121s # random seed: R02S56cc29770aef7754b8bca1b41ff9794a 1121s 1..8 1121s # Start of gdbus tests 1121s # Start of codegen tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/annotations/.dirs/runtime 1121s ok 1 /gdbus/codegen/annotations 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/interface_stability/.dirs/runtime 1121s ok 2 /gdbus/codegen/interface_stability 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/object-manager/.dirs/runtime 1121s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1121s ok 3 /gdbus/codegen/object-manager 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/property-naming/.dirs/runtime 1121s ok 4 /gdbus/codegen/property-naming 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/autocleanups/.dirs/runtime 1121s ok 5 /gdbus/codegen/autocleanups 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/deprecations/.dirs/runtime 1121s ok 6 /gdbus/codegen/deprecations 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1121s ok 7 /gdbus/codegen/standalone-interface-info 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_LEOPZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1121s ok 8 /gdbus/codegen/unix-fd-list 1121s # End of codegen tests 1121s # End of gdbus tests 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s ok - glib/gdbus-test-codegen-old.test 1121s # Running test: glib/srvtarget.test 1121s TAP version 14 1121s # random seed: R02Sf7b8ef2f6e5d83b5dc9a72db22f37f2b 1121s 1..1 1121s # Start of srvtarget tests 1122s ok 1 /srvtarget/srv-target-ordering 1122s # End of srvtarget tests 1122s ok - glib/srvtarget.test 1122s # Running test: glib/cxx-2b.test 1122s TAP version 14 1122s # random seed: R02S3993905866675b0c0999f443a29b98d9 1122s 1..2 1122s # Start of gtask tests 1122s # 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. 1122s ok 1 /gtask/name 1122s # Start of name tests 1122s # 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. 1122s ok 2 /gtask/name/macro-wrapper 1122s # End of name tests 1122s # End of gtask tests 1122s ok - glib/cxx-2b.test 1122s # Running test: glib/binding.test 1122s TAP version 14 1122s # random seed: R02S704c0bbbcecd1fd107b39aa3676cde1a 1122s 1..19 1122s # Start of binding tests 1122s ok 1 /binding/default 1122s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1122s ok 2 /binding/canonicalisation 1122s ok 3 /binding/bidirectional 1122s ok 4 /binding/transform 1122s ok 5 /binding/transform-default 1122s ok 6 /binding/transform-closure 1122s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1122s ok 7 /binding/chain 1122s ok 8 /binding/sync-create 1122s ok 9 /binding/invert-boolean 1122s ok 10 /binding/same-object 1122s ok 11 /binding/unbind 1122s ok 12 /binding/unbind-weak 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1122s ok 13 /binding/unbind-multiple 1122s ok 14 /binding/fail 1122s ok 15 /binding/interface 1122s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1122s ok 16 /binding/concurrent-unbind 1122s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1122s ok 17 /binding/concurrent-finalizing 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1122s ok 18 /binding/dispose-source 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1122s ok 19 /binding/dispose-target 1122s # End of binding tests 1122s ok - glib/binding.test 1122s # Running test: glib/gdbus-connection.test 1122s TAP version 14 1122s # random seed: R02Sf035e43fbf78a5c6fffb1b0109258989 1122s 1..9 1122s # Start of gdbus tests 1122s # Start of connection tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/bus-failure/.dirs/runtime 1122s ok 1 /gdbus/connection/bus-failure 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/basic/.dirs/runtime 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1122s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s ok 2 /gdbus/connection/basic 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/life-cycle/.dirs/runtime 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1122s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s ok 3 /gdbus/connection/life-cycle 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/send/.dirs/runtime 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1122s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s ok 4 /gdbus/connection/send 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signals/.dirs/runtime 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1122s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s ok 5 /gdbus/connection/signals 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/signal-match-rules/.dirs/runtime 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1122s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s ok 6 /gdbus/connection/signal-match-rules 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/filter/.dirs/runtime 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1122s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s ok 7 /gdbus/connection/filter 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/serials/.dirs/runtime 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1122s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s ok 8 /gdbus/connection/serials 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G2V2Z2/gdbus/connection/cancel/.dirs/runtime 1122s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1122s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s ok 9 /gdbus/connection/cancel 1122s # End of connection tests 1122s # End of gdbus tests 1122s ok - glib/gdbus-connection.test 1122s # Running test: glib/struct-info.test 1122s TAP version 14 1122s # random seed: R02Sd26ef69109e517e8a9bc4641403221e4 1122s 1..4 1122s # Start of struct-info tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_IVAIZ2/struct-info/field-iterators/.dirs/runtime 1122s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1122s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1122s ok 1 /struct-info/field-iterators 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_IVAIZ2/struct-info/sizeof-gvalue/.dirs/runtime 1122s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1122s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1122s ok 2 /struct-info/sizeof-gvalue 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_IVAIZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1122s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1122s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1122s ok 3 /struct-info/is-pointer-for-struct-method-arg 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_IVAIZ2/struct-info/boxed/.dirs/runtime 1122s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1122s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1122s ok 4 /struct-info/boxed 1122s # End of struct-info tests 1122s ok - glib/struct-info.test 1122s # Running test: glib/tls-bindings.test 1122s TAP version 14 1122s # random seed: R02S5badd167109cff3440c2ea26ed6f257c 1122s 1..2 1122s # Start of tls-connection tests 1122s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1122s ok 1 /tls-connection/get-tls-channel-binding 1122s ok 2 /tls-connection/get-dtls-channel-binding 1122s # End of tls-connection tests 1122s ok - glib/tls-bindings.test 1122s # Running test: glib/markup-collect.test 1122s TAP version 14 1122s # random seed: R02Seb6f26acd0130c8c2ba4f516fa4a72fc 1122s 1..21 1122s # Start of markup tests 1122s # Start of collect tests 1122s ok 1 /markup/collect/0 1122s ok 2 /markup/collect/1 1122s ok 3 /markup/collect/2 1122s ok 4 /markup/collect/3 1122s ok 5 /markup/collect/4 1122s ok 6 /markup/collect/5 1122s ok 7 /markup/collect/6 1122s ok 8 /markup/collect/7 1122s ok 9 /markup/collect/8 1122s ok 10 /markup/collect/9 1122s ok 11 /markup/collect/10 1122s ok 12 /markup/collect/11 1122s ok 13 /markup/collect/12 1122s ok 14 /markup/collect/13 1122s ok 15 /markup/collect/14 1122s ok 16 /markup/collect/15 1122s ok 17 /markup/collect/16 1122s ok 18 /markup/collect/17 1122s ok 19 /markup/collect/18 1122s ok 20 /markup/collect/19 1122s ok 21 /markup/collect/cleanup 1122s # End of collect tests 1122s # End of markup tests 1122s ok - glib/markup-collect.test 1122s # Running test: glib/registered-type-info.test 1122s TAP version 14 1122s # random seed: R02S56bb6e72c7dcba563863200da8cddc3a 1122s 1..1 1122s # Start of registered-type-info tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_DFZIZ2/registered-type-info/boxed/.dirs/runtime 1122s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1122s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1122s # Expecting CClosure to not be boxed 1122s # Expecting TypeCValue to not be boxed 1122s # Expecting InitiallyUnownedClass to not be boxed 1122s # Expecting BookmarkFile to be boxed 1122s # Expecting Closure to be boxed 1122s # Expecting Object to not be boxed 1122s ok 1 /registered-type-info/boxed 1122s # End of registered-type-info tests 1122s ok - glib/registered-type-info.test 1122s # Running test: glib/inet-address.test 1122s TAP version 14 1122s # random seed: R02S8a4e94a0c9db3bc044b13f2796ba1461 1122s 1..11 1122s # Start of inet-address tests 1122s ok 1 /inet-address/parse 1122s ok 2 /inet-address/any 1122s ok 3 /inet-address/loopback 1122s ok 4 /inet-address/bytes 1122s ok 5 /inet-address/property 1122s # End of inet-address tests 1122s # Start of socket-address tests 1122s ok 6 /socket-address/basic 1122s ok 7 /socket-address/to-string 1122s # End of socket-address tests 1122s # Start of address-mask tests 1122s ok 8 /address-mask/parse 1122s ok 9 /address-mask/property 1122s ok 10 /address-mask/equal 1122s ok 11 /address-mask/match 1122s # End of address-mask tests 1122s ok - glib/inet-address.test 1122s # Running test: glib/portal-support-flatpak-full.test 1122s TAP version 14 1122s # random seed: R02S1f17bff05082e24f86b21163f7b61f0f 1122s 1..1 1122s # Start of portal-support tests 1122s # Start of flatpak tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/runtime 1122s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_EJ3IZ2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1122s ok 1 /portal-support/flatpak/full 1122s # End of flatpak tests 1122s # End of portal-support tests 1122s ok - glib/portal-support-flatpak-full.test 1122s # Running test: glib/refcount-macro.test 1122s TAP version 14 1122s # random seed: R02S0da69433bca3594152189f39b6eaf437 1122s 1..4 1122s # Start of refcount tests 1122s ok 1 /refcount/grefcount 1122s ok 2 /refcount/gatomicrefcount 1122s # Start of grefcount tests 1122s ok 3 /refcount/grefcount/saturation 1122s # End of grefcount tests 1122s # Start of gatomicrefcount tests 1122s ok 4 /refcount/gatomicrefcount/saturation 1122s # End of gatomicrefcount tests 1122s # End of refcount tests 1122s ok - glib/refcount-macro.test 1122s # Running test: glib/dynamictests.test 1122s TAP version 14 1122s # random seed: R02Se3c46d9f04b4ac4fd09481a687cdaa5d 1122s 1..2 1122s # Start of GObject tests 1122s ok 1 /GObject/threaded-dynamic-ref-unref-init 1122s ok 2 /GObject/dynamic-interface-properties 1122s # End of GObject tests 1122s ok - glib/dynamictests.test 1122s # Running test: glib/gobject-query.py.test 1122s TAP version 13 1122s ok 1 __main__.TestGobjectQuery.test_froots 1122s # gobject-query: /usr/bin/gobject-query 1122s # Running: ['/usr/bin/gobject-query', 'froots'] 1122s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1122s # Output: ├void 1122s # ├GInterface 1122s # │ â””GTypePlugin 1122s # ├gchar 1122s # ├guchar 1122s # ├gboolean 1122s # ├gint 1122s # ├guint 1122s # ├glong 1122s # ├gulong 1122s # ├gint64 1122s # ├guint64 1122s # ├GEnum 1122s # ├GFlags 1122s # ├gfloat 1122s # ├gdouble 1122s # ├gchararray 1122s # ├gpointer 1122s # │ â””GType 1122s # ├GBoxed 1122s # │ â””GValueArray 1122s # ├GParam 1122s # │ ├GParamChar 1122s # │ ├GParamUChar 1122s # │ ├GParamBoolean 1122s # │ ├GParamInt 1122s # │ ├GParamUInt 1122s # │ ├GParamLong 1122s # │ ├GParamULong 1122s # │ ├GParamInt64 1122s # │ ├GParamUInt64 1122s # │ ├GParamUnichar 1122s # │ ├GParamEnum 1122s # │ ├GParamFlags 1122s # │ ├GParamFloat 1122s # │ ├GParamDouble 1122s # │ ├GParamString 1122s # │ ├GParamParam 1122s # │ ├GParamBoxed 1122s # │ ├GParamPointer 1122s # │ ├GParamValueArray 1122s # │ ├GParamObject 1122s # │ ├GParamOverride 1122s # │ ├GParamGType 1122s # │ â””GParamVariant 1122s # ├GObject 1122s # â””GVariant 1122s ok 2 __main__.TestGobjectQuery.test_help 1122s # gobject-query: /usr/bin/gobject-query 1122s # Running: ['/usr/bin/gobject-query', '--help'] 1122s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1122s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1122s # -r specify root type 1122s # -n don't descend type tree 1122s # -h show help 1122s # -b specify indent string 1122s # -i specify incremental indent string 1122s # -s specify line spacing 1122s # qualifiers: 1122s # froots iterate over fundamental roots 1122s # tree print type tree 1122s ok 3 __main__.TestGobjectQuery.test_tree 1122s # gobject-query: /usr/bin/gobject-query 1122s # Running: ['/usr/bin/gobject-query', 'tree'] 1122s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1122s # Output: GObject 1122s ok 4 __main__.TestGobjectQuery.test_version 1122s # gobject-query: /usr/bin/gobject-query 1122s # Running: ['/usr/bin/gobject-query', '--version'] 1122s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1122s # Output: 2.82.4 1122s 1..4 1122s ok - glib/gobject-query.py.test 1122s # Running test: glib/slist.test 1122s TAP version 14 1122s # random seed: R02S4cbeff6fd4356dde3f683b01206aa69b 1122s 1..14 1122s # Start of slist tests 1122s ok 1 /slist/sort 1122s ok 2 /slist/sort-with-data 1122s ok 3 /slist/insert-sorted 1122s ok 4 /slist/insert-sorted-with-data 1122s ok 5 /slist/reverse 1122s ok 6 /slist/nth 1122s ok 7 /slist/remove 1122s ok 8 /slist/remove-all 1122s ok 9 /slist/insert 1122s ok 10 /slist/position 1122s ok 11 /slist/concat 1122s ok 12 /slist/copy 1122s # Start of sort tests 1122s ok 13 /slist/sort/stable 1122s # End of sort tests 1122s # Start of copy tests 1122s ok 14 /slist/copy/deep 1122s # End of copy tests 1122s # End of slist tests 1122s ok - glib/slist.test 1122s # Running test: glib/deftype.test 1122s ok - glib/deftype.test 1122s # Running test: glib/timer.test 1122s TAP version 14 1122s # random seed: R02Saa4b665c773267c0b6f07a395ca6b62f 1122s 1..10 1122s # Start of timer tests 1122s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1122s ok 2 /timer/stop 1122s ok 3 /timer/continue 1122s ok 4 /timer/reset 1122s ok 5 /timer/is_active 1122s # End of timer tests 1122s # Start of timeval tests 1122s ok 6 /timeval/add 1122s ok 7 /timeval/from-iso8601 1122s ok 8 /timeval/to-iso8601 1122s # Start of to-iso8601 tests 1122s ok 9 /timeval/to-iso8601/overflow 1122s # End of to-iso8601 tests 1122s # End of timeval tests 1122s # Start of usleep tests 1122s ok 10 /usleep/with-zero-wait 1122s # End of usleep tests 1122s ok - glib/timer.test 1122s # Running test: glib/uri.test 1122s TAP version 14 1122s # random seed: R02S4b2750b6968fec985e3bcc1ef1badc48 1122s 1..24 1122s # Start of uri tests 1122s ok 1 /uri/file-to-uri 1122s ok 2 /uri/file-from-uri 1122s ok 3 /uri/file-roundtrip 1122s ok 4 /uri/list 1122s # Test 0: %2Babc %4F 1122s # Test 1: %2Babc %4F 1122s # Test 2: %00abc %4F 1122s # Test 3: /cursors/none.png 1122s # Test 4: /cursors%2fbad-subdir/none.png 1122s # Test 5: %0 1122s # Test 6: %ra 1122s # Test 7: %2r 1122s # Test 8: Timm B?der 1122s # Test 9: (null) 1122s ok 5 /uri/unescape-string 1122s ok 6 /uri/unescape-segment 1122s # Test 0: abcdefgABCDEFG._~ 1122s # Test 1: :+ \\?# 1122s # Test 2: a+b:c 1122s # Test 3: a+b:c\303\234 1122s # Test 4: \374;\322 1122s # Test 5: \303\261\303( 1122s ok 7 /uri/escape-string 1122s ok 8 /uri/escape-bytes 1122s ok 9 /uri/scheme 1122s ok 10 /uri/build 1122s ok 11 /uri/split 1122s ok 12 /uri/is_valid 1122s ok 13 /uri/to-string 1122s ok 14 /uri/join 1122s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1122s # Combination 0 1122s # Combination 1 1122s # Combination 2 1122s # Combination 3 1122s # Combination 4 1122s # Combination 5 1122s # Combination 6 1122s # Combination 7 1122s # Combination 8 1122s # Combination 9 1122s # Combination 10 1122s # Combination 11 1122s # Combination 12 1122s # Combination 13 1122s # Combination 14 1122s # Combination 15 1122s # Combination 16 1122s # Combination 17 1122s # Combination 18 1122s # Combination 19 1122s # Combination 20 1122s # Combination 21 1122s # Combination 22 1122s # Combination 23 1122s # Combination 24 1122s # Combination 25 1122s # Combination 26 1122s # Combination 27 1122s # Combination 28 1122s # Combination 29 1122s # Combination 30 1122s # Combination 31 1122s # Combination 32 1122s # Combination 33 1122s # Combination 34 1122s # Combination 35 1122s # Combination 36 1122s # Combination 37 1122s # Combination 38 1122s # Combination 39 1122s # Combination 40 1122s # Combination 41 1122s # Combination 42 1122s # Combination 43 1122s # Combination 44 1122s # Combination 45 1122s # Combination 46 1122s # Combination 47 1122s # Combination 48 1122s # Combination 49 1122s # Combination 50 1122s # Combination 51 1122s # Combination 52 1122s # Combination 53 1122s # Combination 54 1122s # Combination 55 1122s # Combination 56 1122s # Combination 57 1122s # Combination 58 1122s # Combination 59 1122s # Combination 60 1122s # Combination 61 1122s # Combination 62 1122s # Combination 63 1122s # Combination 64 1122s # Combination 65 1122s # Combination 66 1122s # Combination 67 1122s # Combination 68 1122s # Combination 69 1122s # Combination 70 1122s # Combination 71 1122s # Combination 72 1122s # Combination 73 1122s # Combination 74 1122s # Combination 75 1122s # Combination 76 1122s # Combination 77 1122s # Combination 78 1122s # Combination 79 1122s # Combination 80 1122s # Combination 81 1122s # Combination 82 1122s # Combination 83 1122s # Combination 84 1122s # Combination 85 1122s # Combination 86 1122s # Combination 87 1122s # Combination 88 1122s # Combination 89 1122s # Combination 90 1122s # Combination 91 1122s # Combination 92 1122s # Combination 93 1122s # Combination 94 1122s # Combination 95 1122s # Combination 96 1122s # Combination 97 1122s # Combination 98 1122s # Combination 99 1122s # Combination 100 1122s # Combination 101 1122s # Combination 102 1122s # Combination 103 1122s # Combination 104 1122s # Combination 105 1122s # Combination 106 1122s # Combination 107 1122s # Combination 108 1122s # Combination 109 1122s # Combination 110 1122s # Combination 111 1122s # Combination 112 1122s # Combination 113 1122s # Combination 114 1122s # Combination 115 1122s # Combination 116 1122s # Combination 117 1122s # Combination 118 1122s # Combination 119 1122s # Combination 120 1122s # Combination 121 1122s # Combination 122 1122s # Combination 123 1122s # Combination 124 1122s # Combination 125 1122s # Combination 126 1122s # Combination 127 1122s # Combination 128 1122s # Combination 129 1122s # Combination 130 1122s # Combination 131 1122s # Combination 132 1122s # Combination 133 1122s # Combination 134 1122s # Combination 135 1122s # Combination 136 1122s # Combination 137 1122s # Combination 138 1122s # Combination 139 1122s # Combination 140 1122s # Combination 141 1122s # Combination 142 1122s # Combination 143 1122s # Combination 144 1122s # Combination 145 1122s # Combination 146 1122s # Combination 147 1122s # Combination 148 1122s # Combination 149 1122s # Combination 150 1122s # Combination 151 1122s # Combination 152 1122s # Combination 153 1122s # Combination 154 1122s # Combination 155 1122s # Combination 156 1122s # Combination 157 1122s # Combination 158 1122s # Combination 159 1122s # Combination 160 1122s # Combination 161 1122s # Combination 162 1122s # Combination 163 1122s # Combination 164 1122s # Combination 165 1122s # Combination 166 1122s # Combination 167 1122s # Combination 168 1122s # Combination 169 1122s # Combination 170 1122s # Combination 171 1122s # Combination 172 1122s # Combination 173 1122s # Combination 174 1122s # Combination 175 1122s # Combination 176 1122s # Combination 177 1122s # Combination 178 1122s # Combination 179 1122s # Combination 180 1122s # Combination 181 1122s # Combination 182 1122s # Combination 183 1122s # Combination 184 1122s # Combination 185 1122s # Combination 186 1122s # Combination 187 1122s # Combination 188 1122s # Combination 189 1122s # Combination 190 1122s # Combination 191 1122s # Combination 192 1122s # Combination 193 1122s # Combination 194 1122s # Combination 195 1122s # Combination 196 1122s # Combination 197 1122s # Combination 198 1122s # Combination 199 1122s # Combination 200 1122s # Combination 201 1122s # Combination 202 1122s # Combination 203 1122s # Combination 204 1122s # Combination 205 1122s # Combination 206 1122s # Combination 207 1122s # Combination 208 1122s # Combination 209 1122s # Combination 210 1122s # Combination 211 1122s # Combination 212 1122s # Combination 213 1122s # Combination 214 1122s # Combination 215 1122s # Combination 216 1122s # Combination 217 1122s # Combination 218 1122s # Combination 219 1122s # Combination 220 1122s # Combination 221 1122s # Combination 222 1122s # Combination 223 1122s # Combination 224 1122s # Combination 225 1122s # Combination 226 1122s # Combination 227 1122s # Combination 228 1122s # Combination 229 1122s # Combination 230 1122s # Combination 231 1122s # Combination 232 1122s # Combination 233 1122s # Combination 234 1122s # Combination 235 1122s # Combination 236 1122s # Combination 237 1122s # Combination 238 1122s # Combination 239 1122s # Combination 240 1122s # Combination 241 1122s # Combination 242 1122s # Combination 243 1122s # Combination 244 1122s # Combination 245 1122s # Combination 246 1122s # Combination 247 1122s # Combination 248 1122s # Combination 249 1122s # Combination 250 1122s # Combination 251 1122s # Combination 252 1122s # Combination 253 1122s # Combination 254 1122s # Combination 255 1122s ok 15 /uri/join-split-round-trip 1122s ok 16 /uri/normalize 1122s # Start of unescape-bytes tests 1122s # Test 0: %00%00 1122s # Test 1: /cursors/none.png 1122s # Test 2: /cursors%2fbad-subdir/none.png 1122s # Test 3: %% 1122s # Test 4: % 1122s ok 17 /uri/unescape-bytes/nul-terminated 1122s # Test 0: %00%00 1122s # Test 1: /cursors/none.png 1122s # Test 2: /cursors%2fbad-subdir/none.png 1122s # Test 3: %% 1122s # Test 4: % 1122s ok 18 /uri/unescape-bytes/length 1122s # End of unescape-bytes tests 1122s # Start of parsing tests 1122s # Test 0: foo: 1122s # Test 1: file:/dev/null 1122s # Test 2: file:///dev/null 1122s # Test 3: ftp://user@host/path 1122s # Test 4: ftp://user@host:9999/path 1122s # Test 5: ftp://user:password@host/path 1122s # Test 6: ftp://user:password@host:9999/path 1122s # Test 7: ftp://user:password@host 1122s # Test 8: http://us%65r@host 1122s # Test 9: http://us%40r@host 1122s # Test 10: http://us%3ar@host 1122s # Test 11: http://us%2fr@host 1122s # Test 12: http://us%3fr@host 1122s # Test 13: http://host?query 1122s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1122s # 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 1122s # Test 16: http://space/%20 1122s # Test 17: http://delims/%3C%3E%23%25%22 1122s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1122s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1122s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1122s # Test 21: http://[3ffe:2a00:100:7031::1] 1122s # Test 22: http://[1080::8:800:200C:417A]/foo 1122s # Test 23: http://[::192.9.5.5]/ipng 1122s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1122s # Test 25: http://[2010:836B:4179::836B:4179] 1122s # Test 26: http://host/path with spaces 1122s # Test 27: http://host/path 1122s # Test 28: http://host/path 1122s # Test 29: http://host 1122s # Test 30: http://host:999 1122s # Test 31: http://host/pa 1122s # th 1122s # Test 32: http: 1122s # //host/path 1122s # Test 33: http:// host/path 1122s # Test 34: http://host/path? 1122s # Test 35: http://host/path# 1122s # Test 36: http://host/path% 1122s # Test 37: http://h%ost/path 1122s # Test 38: http://host/path%% 1122s # Test 39: http://host/path%%% 1122s # Test 40: http://host/path%/x/ 1122s # Test 41: http://host/path%0x/ 1122s # Test 42: http://host/path%ax 1122s # Test 43: http://host/p?th/ 1122s # Test 44: HTTP://////////////// 1122s # Test 45: http://@host 1122s # Test 46: http://:@host 1122s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1122s # Test 48: http://example.com/.. 1122s # Test 49: foo0://host/path 1122s # Test 50: f0.o://host/path 1122s # Test 51: http++://host/path 1122s # Test 52: http-ish://host/path 1122s # Test 53: http://[fe80::dead:beef%]/ 1122s # Test 54: http://[fe80::dead:beef%em1]/ 1122s # Test 55: http://[fe80::dead:beef%em1]/ 1122s # Test 56: http://[fe80::dead:beef%25em1]/ 1122s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1122s # Test 58: http://[fe80::dead:beef%25em%31]/ 1122s # Test 59: http://[fe80::dead:beef%10]/ 1122s # Test 60: http://[fe80::dead:beef%10]/ 1122s # Test 61: http://[fe80::dead:beef%25]/ 1122s # Test 62: http://[fe80::dead:beef%25]/ 1122s # Test 63: http://[192.168.0.1%25em1]/ 1122s # Test 64: http://[fe80::dead:beef%2em1]/ 1122s # Test 65: http://[fe80::dead:beef%2em1]/ 1122s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1122s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1122s # Test 68: http://xn--mixed-?p/ 1122s ok 19 /uri/parsing/absolute 1122s ok 20 /uri/parsing/relative 1122s # End of parsing tests 1122s # Start of iter-params tests 1122s # URI 0: p1=foo&p2=bar;p3=baz 1122s # URI 1: p1=foo&p2=bar 1122s # URI 2: p1=foo&&P1=bar 1122s # URI 3: %00=foo 1122s # URI 4: p1=%00 1122s # URI 5: p1=foo&p1=bar 1122s # URI 6: p1=foo&P1=bar 1122s # URI 7: =% 1122s # URI 8: = 1122s # URI 9: foo 1122s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1122s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1122s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1122s ok 21 /uri/iter-params/nul-terminated 1122s # URI 0: p1=foo&p2=bar;p3=baz 1122s # URI 1: p1=foo&p2=bar 1122s # URI 2: p1=foo&&P1=bar 1122s # URI 3: %00=foo 1122s # URI 4: p1=%00 1122s # URI 5: p1=foo&p1=bar 1122s # URI 6: p1=foo&P1=bar 1122s # URI 7: =% 1122s # URI 8: = 1122s # URI 9: foo 1122s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1122s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1122s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1122s ok 22 /uri/iter-params/length 1122s # End of iter-params tests 1122s # Start of parse-params tests 1122s # URI 0: p1=foo&p2=bar;p3=baz 1122s # URI 1: p1=foo&p2=bar 1122s # URI 2: p1=foo&&P1=bar 1122s # URI 3: %00=foo 1122s # URI 4: p1=%00 1122s # URI 5: p1=foo&p1=bar 1122s # URI 6: p1=foo&P1=bar 1122s # URI 7: =% 1122s # URI 8: = 1122s # URI 9: foo 1122s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1122s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1122s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1122s ok 23 /uri/parse-params/nul-terminated 1122s # URI 0: p1=foo&p2=bar;p3=baz 1122s # URI 1: p1=foo&p2=bar 1122s # URI 2: p1=foo&&P1=bar 1122s # URI 3: %00=foo 1122s # URI 4: p1=%00 1122s # URI 5: p1=foo&p1=bar 1122s # URI 6: p1=foo&P1=bar 1122s # URI 7: =% 1122s # URI 8: = 1122s # URI 9: foo 1122s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1122s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1122s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1122s ok 24 /uri/parse-params/length 1122s # End of parse-params tests 1122s # End of uri tests 1122s ok - glib/uri.test 1122s # Running test: glib/credentials.test 1122s TAP version 14 1122s # random seed: R02Sc8d8f314cb13b44bcdea5bd420a18f89 1122s 1..1 1122s # Start of credentials tests 1122s # GCredentials:linux-ucred:pid=4031,uid=1000,gid=1000 1122s # GCredentials:linux-ucred:pid=4031,uid=0,gid=1000 1122s ok 1 /credentials/basic 1122s # End of credentials tests 1122s ok - glib/credentials.test 1122s # Running test: glib/proxy-test.test 1122s TAP version 14 1122s # random seed: R02S464abb219015d337fbde97717f5e1de3 1122s 1..11 1122s # Start of proxy tests 1122s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1122s ok 1 /proxy/direct_sync 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c6420e9e0 and GSocketClientAsyncConnectData 0xbe1c64204270 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c6420f3f0 for GSocketClientAsyncConnectData 0xbe1c64204270 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1122s ok 2 /proxy/direct_async 1122s ok 3 /proxy/single_sync 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c64210cf0 and GSocketClientAsyncConnectData 0xbe1c6420fe40 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c64211850 for GSocketClientAsyncConnectData 0xbe1c6420fe40 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1122s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1122s ok 4 /proxy/single_async 1122s ok 5 /proxy/multiple_sync 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c64211580 and GSocketClientAsyncConnectData 0xbe1c64211350 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c64211ed0 for GSocketClientAsyncConnectData 0xbe1c64211350 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c642118e0 for GSocketClientAsyncConnectData 0xbe1c64211350 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1122s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1122s ok 6 /proxy/multiple_async 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1122s ok 7 /proxy/invalid-uris-sync 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c64211c60 and GSocketClientAsyncConnectData 0xbe1c64211160 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1122s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c642112d0 and GSocketClientAsyncConnectData 0xbe1c64211160 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1122s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c642112d0 and GSocketClientAsyncConnectData 0xbe1c64211160 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c64212200 for GSocketClientAsyncConnectData 0xbe1c64211160 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c64210c60 and GSocketClientAsyncConnectData 0xbe1c64212040 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c64211650 for GSocketClientAsyncConnectData 0xbe1c64212040 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1122s ok 8 /proxy/invalid-uris-async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c642112d0 and GSocketClientAsyncConnectData 0xbe1c64211160 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1122s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1122s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c64210a00 and GSocketClientAsyncConnectData 0xbe1c64212200 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c642123a0 for GSocketClientAsyncConnectData 0xbe1c64212200 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1122s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c64211c60 and GSocketClientAsyncConnectData 0xbe1c6420ba00 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c64210e40 for GSocketClientAsyncConnectData 0xbe1c6420ba00 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1122s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1122s ok 9 /proxy/dns 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c64211c60 and GSocketClientAsyncConnectData 0xbe1c64212200 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c642120d0 for GSocketClientAsyncConnectData 0xbe1c64212200 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1122s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c64211c60 and GSocketClientAsyncConnectData 0xbe1c64211160 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c642126f0 for GSocketClientAsyncConnectData 0xbe1c64211160 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1122s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1122s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1122s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe1c64211c60 and GSocketClientAsyncConnectData 0xbe1c64212200 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1122s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe1c64212500 for GSocketClientAsyncConnectData 0xbe1c64212200 1122s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1122s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1122s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1122s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1122s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1122s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1122s ok 10 /proxy/override 1122s ok 11 /proxy/enumerator-ports 1122s # End of proxy tests 1122s ok - glib/proxy-test.test 1122s # Running test: glib/gdbus-serialization.test 1122s TAP version 14 1122s # random seed: R02S3abc94a43c19a7bf0dd11591ab1a9574 1122s 1..18 1122s # Start of gdbus tests 1122s # Start of message-serialize tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/basic/.dirs/runtime 1122s ok 1 /gdbus/message-serialize/basic 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/complex/.dirs/runtime 1122s ok 2 /gdbus/message-serialize/complex 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/invalid/.dirs/runtime 1122s ok 3 /gdbus/message-serialize/invalid 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/.dirs/runtime 1122s ok 4 /gdbus/message-serialize/header-checks 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/double-array/.dirs/runtime 1122s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1122s ok 5 /gdbus/message-serialize/double-array 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/empty-structure/.dirs/runtime 1122s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1122s ok 6 /gdbus/message-serialize/empty-structure 1122s # Start of header-checks tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1122s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1122s ok 7 /gdbus/message-serialize/header-checks/valid 1122s # End of header-checks tests 1122s # End of message-serialize tests 1122s # Start of message-parse tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1122s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1122s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/non-signature-header/.dirs/runtime 1122s ok 9 /gdbus/message-parse/non-signature-header 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1122s ok 10 /gdbus/message-parse/empty-signature-header 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1122s ok 11 /gdbus/message-parse/multiple-signature-header 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1122s ok 12 /gdbus/message-parse/over-long-signature-header 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1122s ok 13 /gdbus/message-parse/deep-header-nesting 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1122s ok 14 /gdbus/message-parse/deep-body-nesting 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/truncated/.dirs/runtime 1122s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1122s ok 15 /gdbus/message-parse/truncated 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/empty-structure/.dirs/runtime 1122s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1122s ok 16 /gdbus/message-parse/empty-structure 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/missing-header/.dirs/runtime 1122s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1122s ok 17 /gdbus/message-parse/missing-header 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VGMNZ2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1122s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1122s ok 18 /gdbus/message-parse/invalid-header-type 1122s # End of message-parse tests 1122s # End of gdbus tests 1122s ok - glib/gdbus-serialization.test 1122s # Running test: glib/1bit-mutex.test 1122s TAP version 14 1122s # random seed: R02S3502a4ee4b10470a7ea40608ae8c4be7 1122s 1..2 1122s # Start of glib tests 1122s # Start of 1bit-mutex tests 1123s # Executing: glib/1bit-mutex.test 1126s ok 1 /glib/1bit-mutex/int 1126s # slow test /glib/1bit-mutex/int executed in 3.41 secs 1128s # Executing: glib/1bit-mutex.test 1129s ok 2 /glib/1bit-mutex/pointer 1129s # slow test /glib/1bit-mutex/pointer executed in 3.42 secs 1129s # End of 1bit-mutex tests 1129s # End of glib tests 1129s ok - glib/1bit-mutex.test 1129s # Running test: glib/signals-refcount3.test 1129s TAP version 14 1129s # random seed: R02S1818ce4ced2e953caf8a9f19962a35bd 1129s 1..1 1129s # Start of gobject tests 1129s # Start of refcount tests 1129s # init 0xc12f2d3ff430 1129s # 1129s # init 0xc12f2d3ff5d0 1129s # 1133s # Executing: glib/signals-refcount3.test 1134s # dispose 0xc12f2d3ff430! 1134s # 1134s # dispose 0xc12f2d3ff5d0! 1134s # 1134s ok 1 /gobject/refcount/signals 1134s # slow test /gobject/refcount/signals executed in 5.00 secs 1134s # End of refcount tests 1134s # End of gobject tests 1134s ok - glib/signals-refcount3.test 1134s # Running test: glib/memory-input-stream.test 1134s TAP version 14 1134s # random seed: R02S332df7433cddddf65b553c4573635be7 1134s 1..6 1134s # Start of memory-input-stream tests 1134s ok 1 /memory-input-stream/read-chunks 1134s ok 2 /memory-input-stream/async 1134s ok 3 /memory-input-stream/seek 1134s ok 4 /memory-input-stream/truncate 1134s ok 5 /memory-input-stream/read-bytes 1134s ok 6 /memory-input-stream/from-bytes 1134s # End of memory-input-stream tests 1134s ok - glib/memory-input-stream.test 1134s # Running test: glib/buffered-output-stream.test 1134s TAP version 14 1134s # random seed: R02S58465ef2d9fff34dfc29295153257c65 1134s 1..5 1134s # Start of buffered-output-stream tests 1134s ok 1 /buffered-output-stream/write 1134s ok 2 /buffered-output-stream/grow 1134s ok 3 /buffered-output-stream/seek 1134s ok 4 /buffered-output-stream/truncate 1134s # End of buffered-output-stream tests 1134s # Start of filter-output-stream tests 1134s ok 5 /filter-output-stream/close 1134s # End of filter-output-stream tests 1134s ok - glib/buffered-output-stream.test 1134s # Running test: glib/file-thumbnail.test 1134s TAP version 14 1134s # random seed: R02S2debbb8a0ada8b270f59d2982b88cf6f 1134s 1..7 1134s # Start of file-thumbnail tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/runtime 1134s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1134s ok 1 /file-thumbnail/fail 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/runtime 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1134s ok 2 /file-thumbnail/size-priority 1134s # Start of valid tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/runtime 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1134s ok 3 /file-thumbnail/valid/normal 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/runtime 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1134s ok 4 /file-thumbnail/valid/large 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/runtime 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1134s ok 5 /file-thumbnail/valid/x-large 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/runtime 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1134s ok 6 /file-thumbnail/valid/xx-large 1134s # End of valid tests 1134s # Start of unknown tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/runtime 1134s # Created test thumbnail at /tmp/test_file-thumbnail_AUYKZ2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1134s ok 7 /file-thumbnail/unknown/super-large 1134s # End of unknown tests 1134s # End of file-thumbnail tests 1134s ok - glib/file-thumbnail.test 1134s # Running test: glib/tls-interaction.test 1134s TAP version 14 1134s # random seed: R02Sbd1a81cc50edc178cd590b5cd831f845 1134s 1..42 1134s # Start of tls-interaction tests 1134s # Start of ask-password tests 1134s # Start of invoke-with-loop tests 1134s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1134s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1134s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1134s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1134s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1134s # End of invoke-with-loop tests 1134s # Start of invoke-without-loop tests 1134s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1134s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1134s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1134s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1134s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1134s # End of invoke-without-loop tests 1134s # Start of invoke-in-loop tests 1134s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1134s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1134s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1134s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1134s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1134s # End of invoke-in-loop tests 1134s # Start of sync tests 1134s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1134s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1134s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1134s # End of sync tests 1134s # Start of async tests 1134s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1134s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1134s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1134s # End of async tests 1134s # End of ask-password tests 1134s # Start of request-certificate tests 1134s # Start of invoke-with-loop tests 1134s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1134s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1134s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1134s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1134s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1134s # End of invoke-with-loop tests 1134s # Start of invoke-without-loop tests 1134s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1134s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1134s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1134s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1134s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1134s # End of invoke-without-loop tests 1134s # Start of invoke-in-loop tests 1134s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1134s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1134s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1134s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1134s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1134s # End of invoke-in-loop tests 1134s # Start of sync tests 1134s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1134s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1134s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1134s # End of sync tests 1134s # Start of async tests 1134s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1134s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1134s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1134s # End of async tests 1134s # End of request-certificate tests 1134s # End of tls-interaction tests 1134s ok - glib/tls-interaction.test 1134s # Running test: glib/gdbus-server-auth.test 1134s TAP version 14 1134s # random seed: R02Sbe5fea841f0a4ff0d5d0a13c9a0d1ac2 1134s 1..9 1134s # Start of gdbus tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/.dirs/runtime 1134s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-R5ILZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1134s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-R5ILZ2/dbus-vfnXn8eC 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4270 1134s ok 1 /gdbus/server-auth 1134s # Start of server-auth tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/abstract/.dirs/runtime 1134s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-8LYLZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1134s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-8LYLZ2/dbus-tukRnf2I 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1134s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1134s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4270 1134s ok 2 /gdbus/server-auth/abstract 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/tcp/.dirs/runtime 1134s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1134s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/.dirs/runtime 1134s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-WH1LZ2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1134s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-WH1LZ2/dbus-9KqN4Tj8 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4270 1134s ok 4 /gdbus/server-auth/anonymous 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/.dirs/runtime 1134s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-KHNMZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1134s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-KHNMZ2/dbus-IU7nudb4 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4270 1134s ok 5 /gdbus/server-auth/external 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/.dirs/runtime 1134s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-3TUMZ2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1134s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1134s # Start of anonymous tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1134s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1134s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1134s # End of anonymous tests 1134s # Start of external tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1134s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-GRPMZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1134s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3HLZ2/gdbus-server-auth-GRPMZ2/dbus-tRiwDU9K 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4270 1134s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1134s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1134s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1134s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4270,uid=1000,gid=1000 1134s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4270 1134s ok 8 /gdbus/server-auth/external/require-same-user 1134s # End of external tests 1134s # Start of sha1 tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3HLZ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1134s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1134s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1134s # End of sha1 tests 1134s # End of server-auth tests 1134s # End of gdbus tests 1134s ok - glib/gdbus-server-auth.test 1134s # Running test: glib/messages-low-memory.py.test 1134s TAP version 13 1134s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1134s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1134s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Return code: -6 1134s # Output: 1134s # Error: GLib-Message: 16:37:52.839: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1134s # GLib-Message: 16:37:52.839: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1134s # ../../../glib/gprintf.c:350: failed to allocate memory 1134s 1..1 1134s ok - glib/messages-low-memory.py.test 1134s # Running test: glib/cmph-bdz.test 1134s TAP version 14 1134s # random seed: R02Sc241c0c9dacf6b007d10ddf1a135e445 1134s 1..2 1134s # Start of cmph-bdz tests 1134s ok 1 /cmph-bdz/search 1134s ok 2 /cmph-bdz/search-packed 1134s # End of cmph-bdz tests 1134s ok - glib/cmph-bdz.test 1134s # Running test: glib/rec-mutex.test 1134s TAP version 14 1134s # random seed: R02S0404ba1eed6b3305ca0b8ccd43f7a49c 1134s 1..29 1134s # Start of thread tests 1134s ok 1 /thread/rec-mutex1 1134s ok 2 /thread/rec-mutex2 1134s ok 3 /thread/rec-mutex3 1134s ok 4 /thread/rec-mutex4 1134s # Start of rec-mutex tests 1134s # Start of perf tests 1134s # Start of uncontended tests 1134s # max perf: 0.500000 mips 1134s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1134s # max perf: inf mips 1134s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1134s # max perf: inf mips 1134s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1134s # max perf: inf mips 1134s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1134s # max perf: 1.000000 mips 1134s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1134s # End of uncontended tests 1134s # Start of contended1 tests 1134s # max perf: inf mips 1134s ok 10 /thread/rec-mutex/perf/contended1/depth1 1134s # max perf: inf mips 1134s ok 11 /thread/rec-mutex/perf/contended1/depth2 1134s # max perf: inf mips 1134s ok 12 /thread/rec-mutex/perf/contended1/depth3 1134s # max perf: inf mips 1134s ok 13 /thread/rec-mutex/perf/contended1/depth4 1134s # max perf: 2.000000 mips 1134s ok 14 /thread/rec-mutex/perf/contended1/depth5 1134s # End of contended1 tests 1134s # Start of contended2 tests 1134s # max perf: inf mips 1134s ok 15 /thread/rec-mutex/perf/contended2/depth1 1134s # max perf: 3.000000 mips 1134s ok 16 /thread/rec-mutex/perf/contended2/depth2 1134s # max perf: inf mips 1134s ok 17 /thread/rec-mutex/perf/contended2/depth3 1134s # max perf: 3.000000 mips 1134s ok 18 /thread/rec-mutex/perf/contended2/depth4 1134s # max perf: 3.000000 mips 1134s ok 19 /thread/rec-mutex/perf/contended2/depth5 1134s # End of contended2 tests 1134s # Start of contended3 tests 1134s # max perf: 2.000000 mips 1134s ok 20 /thread/rec-mutex/perf/contended3/depth1 1134s # max perf: 4.000000 mips 1134s ok 21 /thread/rec-mutex/perf/contended3/depth2 1134s # max perf: 2.000000 mips 1134s ok 22 /thread/rec-mutex/perf/contended3/depth3 1134s # max perf: 1.333333 mips 1134s ok 23 /thread/rec-mutex/perf/contended3/depth4 1134s # max perf: 1.333333 mips 1134s ok 24 /thread/rec-mutex/perf/contended3/depth5 1134s # End of contended3 tests 1134s # Start of contended4 tests 1134s # max perf: 5.000000 mips 1134s ok 25 /thread/rec-mutex/perf/contended4/depth1 1134s # max perf: 2.500000 mips 1134s ok 26 /thread/rec-mutex/perf/contended4/depth2 1134s # max perf: 2.500000 mips 1134s ok 27 /thread/rec-mutex/perf/contended4/depth3 1134s # max perf: 2.500000 mips 1134s ok 28 /thread/rec-mutex/perf/contended4/depth4 1134s # max perf: inf mips 1134s ok 29 /thread/rec-mutex/perf/contended4/depth5 1134s # End of contended4 tests 1134s # End of perf tests 1134s # End of rec-mutex tests 1134s # End of thread tests 1134s ok - glib/rec-mutex.test 1134s # Running test: glib/socket-listener.test 1134s TAP version 14 1134s # random seed: R02Sa8db144b95c03333910737dcae52a08a 1134s 1..1 1134s # Start of socket-listener tests 1134s ok 1 /socket-listener/event-signal 1134s # End of socket-listener tests 1134s ok - glib/socket-listener.test 1134s # Running test: glib/macros-c-89.test 1134s TAP version 14 1134s # random seed: R02S3699a15d8690a7730df3396f7732e6b5 1134s 1..4 1134s # Start of C tests 1134s ok 1 /C/standard-89 1134s # End of C tests 1134s # Start of alignof tests 1134s ok 2 /alignof/fallback 1134s # End of alignof tests 1134s # Start of assert tests 1134s ok 3 /assert/static 1134s # End of assert tests 1134s # Start of struct tests 1134s ok 4 /struct/sizeof_member 1134s # End of struct tests 1134s ok - glib/macros-c-89.test 1134s # Running test: glib/signals-refcount2.test 1134s TAP version 14 1134s # random seed: R02S75b61628ed8a80d9db89a2b94376bdeb 1134s 1..1 1134s # Start of gobject tests 1134s # Start of refcount tests 1134s # init 0xad70ac0b3430 1134s # 1134s # init 0xad70ac0b35d0 1134s # 1138s # Executing: glib/signals-refcount2.test 1139s # dispose 0xad70ac0b3430! 1139s # 1139s # dispose 0xad70ac0b35d0! 1139s # 1139s ok 1 /gobject/refcount/signals 1139s # slow test /gobject/refcount/signals executed in 5.00 secs 1139s # End of refcount tests 1139s # End of gobject tests 1139s ok - glib/signals-refcount2.test 1139s # Running test: glib/network-monitor-race.test 1139s TAP version 14 1139s # random seed: R02S90fa6a83ea10e9bca618c687d39de27f 1139s 1..1 1139s # Start of network-monitor tests 1139s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1142s ok 1 /network-monitor/create-in-thread 1142s # slow test /network-monitor/create-in-thread executed in 2.18 secs 1142s # End of network-monitor tests 1142s ok - glib/network-monitor-race.test 1142s # Running test: glib/utils-c-17.test 1142s TAP version 14 1142s # random seed: R02S76982a680f4dcd0fda480ba9d8c73d55 1142s 1..40 1142s # Start of utils tests 1142s ok 1 /utils/language-names 1142s ok 2 /utils/locale-variants 1142s ok 3 /utils/version 1142s ok 4 /utils/appname 1142s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1142s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1142s ok 5 /utils/prgname-thread-safety 1142s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1142s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1142s ok 6 /utils/tmpdir 1142s ok 7 /utils/basic_bits 1142s ok 8 /utils/bits 1142s ok 9 /utils/swap 1142s ok 10 /utils/find-program 1142s ok 11 /utils/find-program-for-path 1142s ok 12 /utils/debug 1142s ok 13 /utils/codeset 1142s ok 14 /utils/codeset2 1142s ok 15 /utils/console-charset 1142s ok 16 /utils/gettext 1142s ok 17 /utils/username 1142s ok 18 /utils/realname 1142s ok 19 /utils/hostname 1142s ok 20 /utils/xdgdirs 1142s ok 21 /utils/specialdir 1142s # NAME: Ubuntu 1142s ok 22 /utils/os-info 1142s ok 23 /utils/clear-pointer 1142s ok 24 /utils/clear-pointer-cast 1142s ok 25 /utils/take-pointer 1142s ok 26 /utils/clear-source 1142s ok 27 /utils/misc-mem 1142s # /utils/aligned-mem summary: Aligned memory allocator 1142s # Alignment must not be zero 1142s # Alignment must be a power of two 1142s # Alignment must be a multiple of sizeof(void*) 1142s ok 28 /utils/aligned-mem 1142s # /utils/free-sized summary: Check that g_free_sized() works 1142s ok 29 /utils/free-sized 1142s ok 30 /utils/nullify 1142s ok 31 /utils/atexit 1142s ok 32 /utils/check-setuid 1142s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1142s ok 33 /utils/int-limits 1142s ok 34 /utils/clear-list 1142s ok 35 /utils/clear-slist 1142s # Start of specialdir tests 1142s ok 36 /utils/specialdir/desktop 1142s # End of specialdir tests 1142s # Start of clear-pointer tests 1142s ok 37 /utils/clear-pointer/side-effects 1142s # End of clear-pointer tests 1142s # Start of aligned-mem tests 1142s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1142s ok 38 /utils/aligned-mem/alignment 1142s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1142s ok 39 /utils/aligned-mem/zeroed 1142s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1142s ok 40 /utils/aligned-mem/free-sized 1142s # Start of subprocess tests 1142s # End of subprocess tests 1142s # End of aligned-mem tests 1142s # End of utils tests 1142s ok - glib/utils-c-17.test 1142s # Running test: glib/objects-refcount2.test 1142s TAP version 14 1142s # random seed: R02Sbc2607206992b731a0b5f61d1b87bf10 1142s 1..1 1142s # Start of gobject tests 1142s # Start of refcount tests 1142s # init 0xb9ffda31e750 1142s # 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # Executing: glib/objects-refcount2.test 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # dispose 0xb9ffda31e750! 1148s # 1148s ok 1 /gobject/refcount/object-advanced 1148s # slow test /gobject/refcount/object-advanced executed in 6.19 secs 1148s # End of refcount tests 1148s # End of gobject tests 1148s ok - glib/objects-refcount2.test 1148s # Running test: glib/search-utils.test 1148s TAP version 14 1148s # random seed: R02S84caaa2e56792cf6879144eb5364c59c 1148s # GLib-DEBUG: Current user locale: C.UTF-8 1148s 1..6 1148s # Start of search tests 1148s # GLib-DEBUG: Started 1148s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1148s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1148s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1148s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1148s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1148s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1148s ok 1 /search/basic 1148s # GLib-DEBUG: Started 1148s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1148s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1148s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1148s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 1148s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 1148s ok 2 /search/composed 1148s # GLib-DEBUG: Started 1148s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1148s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1148s ok 3 /search/decomposed 1148s # GLib-DEBUG: Started 1148s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 1148s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1148s ok 4 /search/turkish 1148s # GLib-DEBUG: Started 1148s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1148s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1148s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1148s ok 5 /search/c_locale_unicode 1148s # GLib-DEBUG: Started 1148s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1148s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1148s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1148s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1148s ok 6 /search/multi_words 1148s # End of search tests 1148s ok - glib/search-utils.test 1148s # Running test: glib/file.test 1148s TAP version 14 1148s # random seed: R02Sa60d700fd43fb59c1f8853c76869a9ee 1148s 1..55 1148s # Start of file tests 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/basic/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/basic/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/basic/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/basic/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/basic/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/basic/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/basic/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/basic/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/basic/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/basic/.dirs/runtime 1148s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1148s ok 1 /file/basic 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/build-filename/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/build-filename/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/build-filename/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/build-filename/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/build-filename/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/build-filename/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/build-filename/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/build-filename/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/build-filename/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/build-filename/.dirs/runtime 1148s ok 2 /file/build-filename 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/build-filenamev/.dirs/runtime 1148s ok 3 /file/build-filenamev 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/parent/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/parent/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/parent/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/parent/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/parent/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/parent/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/parent/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/parent/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/parent/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/parent/.dirs/runtime 1148s ok 4 /file/parent 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/child/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/child/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/child/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/child/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/child/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/child/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/child/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/child/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/child/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/child/.dirs/runtime 1148s ok 5 /file/child 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/empty-path/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/empty-path/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/empty-path/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/empty-path/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/empty-path/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/empty-path/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/empty-path/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/empty-path/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/empty-path/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/empty-path/.dirs/runtime 1148s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1148s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1148s ok 6 /file/empty-path 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/type/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/type/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/type/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/type/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/type/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/type/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/type/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/type/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/type/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/type/.dirs/runtime 1148s ok 7 /file/type 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/parse-name/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/parse-name/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/parse-name/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/parse-name/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/parse-name/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/parse-name/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/parse-name/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/parse-name/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/parse-name/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/parse-name/.dirs/runtime 1148s ok 8 /file/parse-name 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/replace-load/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/replace-load/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/replace-load/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/replace-load/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/replace-load/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/replace-load/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/replace-load/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/replace-load/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/replace-load/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/replace-load/.dirs/runtime 1148s ok 9 /file/replace-load 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/replace-cancel/.dirs/runtime 1148s # Bug Reference: https://bugzilla.gnome.org/629301 1148s ok 10 /file/replace-cancel 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/replace-symlink/.dirs/runtime 1148s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1148s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1148s # Using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_symlink_UOB1Z2 1148s ok 11 /file/replace-symlink 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/async-new-tmp/.dirs/runtime 1148s ok 12 /file/async-new-tmp 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/async-new-tmp-dir/.dirs/runtime 1148s ok 13 /file/async-new-tmp-dir 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/async-delete/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/async-delete/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/async-delete/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/async-delete/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/async-delete/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/async-delete/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/async-delete/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/async-delete/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/async-delete/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/async-delete/.dirs/runtime 1148s ok 14 /file/async-delete 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/async-make-symlink/.dirs/runtime 1148s ok 15 /file/async-make-symlink 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/copy-preserve-mode/.dirs/runtime 1148s # Current umask: 2 1148s # Vector 0 1148s # Vector 1 1148s # Vector 2 1148s # Vector 3 1148s # Vector 4 1148s # Vector 5 1148s # Vector 6 1148s # Vector 7 1148s # Vector 8 1148s # Vector 9 1148s # Vector 10 1148s ok 16 /file/copy-preserve-mode 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/copy-async-with-closures/.dirs/runtime 1148s ok 17 /file/copy-async-with-closures 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/measure/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/measure/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/measure/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/measure/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/measure/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/measure/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/measure/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/measure/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/measure/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/measure/.dirs/runtime 1148s ok 18 /file/measure 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/measure-async/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/measure-async/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/measure-async/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/measure-async/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/measure-async/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/measure-async/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/measure-async/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/measure-async/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/measure-async/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/measure-async/.dirs/runtime 1148s ok 19 /file/measure-async 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/load-bytes/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/load-bytes/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/load-bytes/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/load-bytes/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/load-bytes/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/load-bytes/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/load-bytes/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/load-bytes/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/load-bytes/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/load-bytes/.dirs/runtime 1148s ok 20 /file/load-bytes 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/load-bytes-async/.dirs/runtime 1148s ok 21 /file/load-bytes-async 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/load-bytes-4gb/.dirs/runtime 1148s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/load-contents-4gb/.dirs/runtime 1148s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/load-contents-4gb-async/.dirs/runtime 1148s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/.dirs/runtime 1148s ok 25 /file/writev 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/build-attribute-list-for-copy/.dirs/runtime 1148s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1148s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1148s # 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::* 1148s # 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::* 1148s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1148s # Attributes for copy: standard::size,xattr::* 1148s # Attributes for copy: standard::size,unix::mode,xattr::* 1148s ok 26 /file/build-attribute-list-for-copy 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/move_async/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/move_async/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/move_async/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/move_async/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/move_async/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/move_async/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/move_async/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/move_async/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/move_async/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/move_async/.dirs/runtime 1148s ok 27 /file/move_async 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/move-async-with-closures/.dirs/runtime 1148s ok 28 /file/move-async-with-closures 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/query-zero-length-content-type/.dirs/runtime 1148s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1148s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1148s ok 29 /file/query-zero-length-content-type 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/runtime 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/data/applications 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/config 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/config 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/config 1148s ok 30 /file/query-default-handler-file 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/runtime 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/data/applications 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/config 1148s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WVY0Z2/file/query-default-handler-file/.dirs/config to /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/config 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/config 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/config 1148s ok 31 /file/query-default-handler-file-async 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/runtime 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/data/applications 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/config 1148s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WVY0Z2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/config 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/config 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/config 1148s ok 32 /file/query-default-handler-uri 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/runtime 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/data/applications 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/config 1148s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WVY0Z2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/config 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/config 1148s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WVY0Z2/file/query-default-handler-uri-async/.dirs/config 1148s ok 33 /file/query-default-handler-uri-async 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/enumerator-cancellation/.dirs/runtime 1148s ok 34 /file/enumerator-cancellation 1148s # Start of async-create-delete tests 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/async-create-delete/0/.dirs/runtime 1148s ok 35 /file/async-create-delete/0 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/async-create-delete/1/.dirs/runtime 1148s # Executing: glib/file.test 1148s ok 36 /file/async-create-delete/1 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/async-create-delete/10/.dirs/runtime 1148s ok 37 /file/async-create-delete/10 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/async-create-delete/25/.dirs/runtime 1148s ok 38 /file/async-create-delete/25 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/async-create-delete/4096/.dirs/runtime 1148s ok 39 /file/async-create-delete/4096 1148s # End of async-create-delete tests 1148s # Start of replace-symlink tests 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/replace-symlink/using-etag/.dirs/runtime 1148s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1148s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1148s # Using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_symlink_using_etag_T69MZ2 1150s ok 40 /file/replace-symlink/using-etag 1150s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1150s # End of replace-symlink tests 1150s # Start of replace tests 1150s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/home 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/cache 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/system-config2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/config 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/system-data2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/data 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/state 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/replace/write-only/.dirs/runtime 1150s # /file/replace/write-only summary: Test various situations for g_file_replace() 1150s # Current umask: 2 1150s # Test 0, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_9SENZ2 1150s # Test 1, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_DZENZ2 1150s # Test 2, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_AFPNZ2 1150s # Test 3, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_KWLNZ2 1150s # Test 4, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_W2LNZ2 1150s # Test 5, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_Y2MNZ2 1150s # Test 6, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_4HVNZ2 1150s # Test 7, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_BLXNZ2 1150s # Test 8, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_H1WNZ2 1150s # Test 9, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_QRRNZ2 1150s # Test 10, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_OEUNZ2 1150s # Test 11, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_JQ3NZ2 1150s # Test 12, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_0W3NZ2 1150s # Test 13, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_U52NZ2 1150s # Test 14, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_4B7NZ2 1150s # Test 15, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_Q93NZ2 1150s # Test 16, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_EHDOZ2 1150s # Test 17, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_5IEOZ2 1150s # Test 18, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_WABOZ2 1150s # Test 19, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_71KOZ2 1150s # Test 20, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_T7GOZ2 1150s # Test 21, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_Z3IOZ2 1150s # Test 22, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_CZQOZ2 1150s # Test 23, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_60QOZ2 1150s # Test 24, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_N5NOZ2 1150s # Test 25, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_COWOZ2 1150s # Test 26, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_DNXOZ2 1150s # Test 27, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_WPXOZ2 1150s # Test 28, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_GGUOZ2 1150s # Test 29, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_5L3OZ2 1150s # Test 30, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_RX3OZ2 1150s # Test 31, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_LQ4OZ2 1150s # Test 32, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_EM0OZ2 1150s # Test 33, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_CZ1OZ2 1150s # Test 34, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_AC2OZ2 1150s # Test 35, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_BM9OZ2 1150s # Test 36, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_FN6OZ2 1150s # Test 37, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_80FPZ2 1150s # Test 38, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_6ZHPZ2 1150s # Test 39, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_2REPZ2 1150s # Test 40, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_7QMPZ2 1150s # Test 41, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_RHJPZ2 1150s # Test 42, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_6ITPZ2 1150s # Test 43, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_TXPPZ2 1150s # Test 44, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_EJZPZ2 1150s # Test 45, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_3G0PZ2 1150s # Test 46, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_LEWPZ2 1150s # Test 47, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_3DXPZ2 1150s # Test 48, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_194PZ2 1150s # We do not have CAP_DAC_OVERRIDE or equivalent 1150s ok 41 /file/replace/write-only 1150s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/home 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/cache 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/system-config2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/config 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/system-data2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/data 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/state 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/replace/read-write/.dirs/runtime 1150s # /file/replace/read-write summary: Test various situations for g_file_replace() 1150s # Current umask: 2 1150s # Test 0, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_VV4PZ2 1150s # Test 1, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_RY4PZ2 1150s # Test 2, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_WU1PZ2 1150s # Test 3, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_Z23PZ2 1150s # Test 4, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_783PZ2 1150s # Test 5, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_NMBQZ2 1150s # Test 6, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_ZJ8PZ2 1150s # Test 7, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_3KHQZ2 1150s # Test 8, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_EPIQZ2 1150s # Test 9, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_WRIQZ2 1150s # Test 10, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_7LFQZ2 1150s # Test 11, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_BJOQZ2 1150s # Test 12, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_QVOQZ2 1150s # Test 13, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_KPPQZ2 1150s # Test 14, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_UBLQZ2 1150s # Test 15, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_07UQZ2 1150s # Test 16, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_RYRQZ2 1150s # Test 17, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_L70QZ2 1150s # Test 18, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_2CZQZ2 1150s # Test 19, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_ZT6QZ2 1151s # Test 20, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_JK3QZ2 1151s # Test 21, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_M8CRZ2 1151s # Test 22, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_BTARZ2 1151s # Test 23, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_D1ARZ2 1151s # Test 24, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_NFKRZ2 1151s # Test 25, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_B6GRZ2 1151s # Test 26, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_65HRZ2 1151s # Test 27, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_5CIRZ2 1151s # Test 28, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_VVIRZ2 1151s # Test 29, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_C6RRZ2 1151s # Test 30, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_C0MRZ2 1151s # Test 31, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_Z0MRZ2 1151s # Test 32, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_UKWRZ2 1151s # Test 33, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_OHYRZ2 1151s # Test 34, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_ACTRZ2 1151s # Test 35, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_ECTRZ2 1151s # Test 36, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_UQ2RZ2 1151s # Test 37, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_VH5SZ2 1151s # Test 38, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_NG1SZ2 1151s # Test 39, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_IWATZ2 1151s # Test 40, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_LJ7SZ2 1151s # Test 41, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_KJHTZ2 1151s # Test 42, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_O9DTZ2 1151s # Test 43, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_JVFTZ2 1151s # Test 44, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_5APTZ2 1151s # Test 45, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_JFPTZ2 1151s # Test 46, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_MMMTZ2 1151s # Test 47, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_O0TTZ2 1151s # Test 48, using temporary directory /tmp/test_file_WVY0Z2/g_file_replace_ISQTZ2 1151s # We do not have CAP_DAC_OVERRIDE or equivalent 1151s ok 42 /file/replace/read-write 1151s # End of replace tests 1151s # Start of copy tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/copy/progress/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/copy/progress/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/copy/progress/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/copy/progress/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/copy/progress/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/copy/progress/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/copy/progress/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/copy/progress/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/copy/progress/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/copy/progress/.dirs/runtime 1151s ok 43 /file/copy/progress 1151s # End of copy tests 1151s # Start of writev tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/no-bytes-written/.dirs/runtime 1151s ok 44 /file/writev/no-bytes-written 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/no-vectors/.dirs/runtime 1151s ok 45 /file/writev/no-vectors 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/empty-vectors/.dirs/runtime 1151s ok 46 /file/writev/empty-vectors 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/too-big-vectors/.dirs/runtime 1151s ok 47 /file/writev/too-big-vectors 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/async/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/async/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/async/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/async/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/async/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/async/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/async/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/async/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/async/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/async/.dirs/runtime 1151s ok 48 /file/writev/async 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/async_all/.dirs/runtime 1151s ok 49 /file/writev/async_all 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/async_all-empty-vectors/.dirs/runtime 1151s ok 50 /file/writev/async_all-empty-vectors 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/async_all-no-vectors/.dirs/runtime 1151s ok 51 /file/writev/async_all-no-vectors 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/async_all-to-big-vectors/.dirs/runtime 1151s ok 52 /file/writev/async_all-to-big-vectors 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/writev/async_all-cancellation/.dirs/runtime 1151s ok 53 /file/writev/async_all-cancellation 1151s # End of writev tests 1151s # Start of from-uri tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/from-uri/ignores-query-string/.dirs/runtime 1151s ok 54 /file/from-uri/ignores-query-string 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WVY0Z2/file/from-uri/ignores-fragment/.dirs/runtime 1151s ok 55 /file/from-uri/ignores-fragment 1151s # End of from-uri tests 1151s # End of file tests 1151s ok - glib/file.test 1151s # Running test: glib/utf8-validate.test 1151s TAP version 14 1151s # random seed: R02S727516cb1842797db57903c82849893a 1151s 1..216 1151s # Start of utf8 tests 1151s # Vector 0 1151s # Vector 1 1151s # Vector 2 1151s # Vector 3 1151s # Vector 4 1151s # Vector 5 1151s # Vector 6 1151s # Vector 7 1151s # Vector 8 1151s # Vector 9 1151s # Vector 10 1151s # Vector 11 1151s # Vector 12 1151s # Vector 13 1151s # Vector 14 1151s # Vector 15 1151s # Vector 16 1151s # Vector 17 1151s # Vector 18 1151s # Vector 19 1151s # Vector 20 1151s # Vector 21 1151s # Vector 22 1151s # Vector 23 1151s # Vector 24 1151s # Vector 25 1151s # Vector 26 1151s # Vector 27 1151s ok 1 /utf8/get-char-validated 1151s # Start of validate tests 1151s ok 2 /utf8/validate/0 1151s ok 3 /utf8/validate/1 1151s ok 4 /utf8/validate/2 1151s ok 5 /utf8/validate/3 1151s ok 6 /utf8/validate/4 1151s ok 7 /utf8/validate/5 1151s ok 8 /utf8/validate/6 1151s ok 9 /utf8/validate/7 1151s ok 10 /utf8/validate/8 1151s ok 11 /utf8/validate/9 1151s ok 12 /utf8/validate/10 1151s ok 13 /utf8/validate/11 1151s ok 14 /utf8/validate/12 1151s ok 15 /utf8/validate/13 1151s ok 16 /utf8/validate/14 1151s ok 17 /utf8/validate/15 1151s ok 18 /utf8/validate/16 1151s ok 19 /utf8/validate/17 1151s ok 20 /utf8/validate/18 1151s ok 21 /utf8/validate/19 1151s ok 22 /utf8/validate/20 1151s ok 23 /utf8/validate/21 1151s ok 24 /utf8/validate/22 1151s ok 25 /utf8/validate/23 1151s ok 26 /utf8/validate/24 1151s ok 27 /utf8/validate/25 1151s ok 28 /utf8/validate/26 1151s ok 29 /utf8/validate/27 1151s ok 30 /utf8/validate/28 1151s ok 31 /utf8/validate/29 1151s ok 32 /utf8/validate/30 1151s ok 33 /utf8/validate/31 1151s ok 34 /utf8/validate/32 1151s ok 35 /utf8/validate/33 1151s ok 36 /utf8/validate/34 1151s ok 37 /utf8/validate/35 1151s ok 38 /utf8/validate/36 1151s ok 39 /utf8/validate/37 1151s ok 40 /utf8/validate/38 1151s ok 41 /utf8/validate/39 1151s ok 42 /utf8/validate/40 1151s ok 43 /utf8/validate/41 1151s ok 44 /utf8/validate/42 1151s ok 45 /utf8/validate/43 1151s ok 46 /utf8/validate/44 1151s ok 47 /utf8/validate/45 1151s ok 48 /utf8/validate/46 1151s ok 49 /utf8/validate/47 1151s ok 50 /utf8/validate/48 1151s ok 51 /utf8/validate/49 1151s ok 52 /utf8/validate/50 1151s ok 53 /utf8/validate/51 1151s ok 54 /utf8/validate/52 1151s ok 55 /utf8/validate/53 1151s ok 56 /utf8/validate/54 1151s ok 57 /utf8/validate/55 1151s ok 58 /utf8/validate/56 1151s ok 59 /utf8/validate/57 1151s ok 60 /utf8/validate/58 1151s ok 61 /utf8/validate/59 1151s ok 62 /utf8/validate/60 1151s ok 63 /utf8/validate/61 1151s ok 64 /utf8/validate/62 1151s ok 65 /utf8/validate/63 1151s ok 66 /utf8/validate/64 1151s ok 67 /utf8/validate/65 1151s ok 68 /utf8/validate/66 1151s ok 69 /utf8/validate/67 1151s ok 70 /utf8/validate/68 1151s ok 71 /utf8/validate/69 1151s ok 72 /utf8/validate/70 1151s ok 73 /utf8/validate/71 1151s ok 74 /utf8/validate/72 1151s ok 75 /utf8/validate/73 1151s ok 76 /utf8/validate/74 1151s ok 77 /utf8/validate/75 1151s ok 78 /utf8/validate/76 1151s ok 79 /utf8/validate/77 1151s ok 80 /utf8/validate/78 1151s ok 81 /utf8/validate/79 1151s ok 82 /utf8/validate/80 1151s ok 83 /utf8/validate/81 1151s ok 84 /utf8/validate/82 1151s ok 85 /utf8/validate/83 1151s ok 86 /utf8/validate/84 1151s ok 87 /utf8/validate/85 1151s ok 88 /utf8/validate/86 1151s ok 89 /utf8/validate/87 1151s ok 90 /utf8/validate/88 1151s ok 91 /utf8/validate/89 1151s ok 92 /utf8/validate/90 1151s ok 93 /utf8/validate/91 1151s ok 94 /utf8/validate/92 1151s ok 95 /utf8/validate/93 1151s ok 96 /utf8/validate/94 1151s ok 97 /utf8/validate/95 1151s ok 98 /utf8/validate/96 1151s ok 99 /utf8/validate/97 1151s ok 100 /utf8/validate/98 1151s ok 101 /utf8/validate/99 1151s ok 102 /utf8/validate/100 1151s ok 103 /utf8/validate/101 1151s ok 104 /utf8/validate/102 1151s ok 105 /utf8/validate/103 1151s ok 106 /utf8/validate/104 1151s ok 107 /utf8/validate/105 1151s ok 108 /utf8/validate/106 1151s ok 109 /utf8/validate/107 1151s ok 110 /utf8/validate/108 1151s ok 111 /utf8/validate/109 1151s ok 112 /utf8/validate/110 1151s ok 113 /utf8/validate/111 1151s ok 114 /utf8/validate/112 1151s ok 115 /utf8/validate/113 1151s ok 116 /utf8/validate/114 1151s ok 117 /utf8/validate/115 1151s ok 118 /utf8/validate/116 1151s ok 119 /utf8/validate/117 1151s ok 120 /utf8/validate/118 1151s ok 121 /utf8/validate/119 1151s ok 122 /utf8/validate/120 1151s ok 123 /utf8/validate/121 1151s ok 124 /utf8/validate/122 1151s ok 125 /utf8/validate/123 1151s ok 126 /utf8/validate/124 1151s ok 127 /utf8/validate/125 1151s ok 128 /utf8/validate/126 1151s ok 129 /utf8/validate/127 1151s ok 130 /utf8/validate/128 1151s ok 131 /utf8/validate/129 1151s ok 132 /utf8/validate/130 1151s ok 133 /utf8/validate/131 1151s ok 134 /utf8/validate/132 1151s ok 135 /utf8/validate/133 1151s ok 136 /utf8/validate/134 1151s ok 137 /utf8/validate/135 1151s ok 138 /utf8/validate/136 1151s ok 139 /utf8/validate/137 1151s ok 140 /utf8/validate/138 1151s ok 141 /utf8/validate/139 1151s ok 142 /utf8/validate/140 1151s ok 143 /utf8/validate/141 1151s ok 144 /utf8/validate/142 1151s ok 145 /utf8/validate/143 1151s ok 146 /utf8/validate/144 1151s ok 147 /utf8/validate/145 1151s ok 148 /utf8/validate/146 1151s ok 149 /utf8/validate/147 1151s ok 150 /utf8/validate/148 1151s ok 151 /utf8/validate/149 1151s ok 152 /utf8/validate/150 1151s ok 153 /utf8/validate/151 1151s ok 154 /utf8/validate/152 1151s ok 155 /utf8/validate/153 1151s ok 156 /utf8/validate/154 1151s ok 157 /utf8/validate/155 1151s ok 158 /utf8/validate/156 1151s ok 159 /utf8/validate/157 1151s ok 160 /utf8/validate/158 1151s ok 161 /utf8/validate/159 1151s ok 162 /utf8/validate/160 1151s ok 163 /utf8/validate/161 1151s ok 164 /utf8/validate/162 1151s ok 165 /utf8/validate/163 1151s ok 166 /utf8/validate/164 1151s ok 167 /utf8/validate/165 1151s ok 168 /utf8/validate/166 1151s ok 169 /utf8/validate/167 1151s ok 170 /utf8/validate/168 1151s ok 171 /utf8/validate/169 1151s ok 172 /utf8/validate/170 1151s ok 173 /utf8/validate/171 1151s ok 174 /utf8/validate/172 1151s ok 175 /utf8/validate/173 1151s ok 176 /utf8/validate/174 1151s ok 177 /utf8/validate/175 1151s ok 178 /utf8/validate/176 1151s ok 179 /utf8/validate/177 1151s ok 180 /utf8/validate/178 1151s ok 181 /utf8/validate/179 1151s ok 182 /utf8/validate/180 1151s ok 183 /utf8/validate/181 1151s ok 184 /utf8/validate/182 1151s ok 185 /utf8/validate/183 1151s ok 186 /utf8/validate/184 1151s ok 187 /utf8/validate/185 1151s ok 188 /utf8/validate/186 1151s ok 189 /utf8/validate/187 1151s ok 190 /utf8/validate/188 1151s ok 191 /utf8/validate/189 1151s ok 192 /utf8/validate/190 1151s ok 193 /utf8/validate/191 1151s ok 194 /utf8/validate/192 1151s ok 195 /utf8/validate/193 1151s ok 196 /utf8/validate/194 1151s ok 197 /utf8/validate/195 1151s ok 198 /utf8/validate/196 1151s ok 199 /utf8/validate/197 1151s ok 200 /utf8/validate/198 1151s ok 201 /utf8/validate/199 1151s ok 202 /utf8/validate/200 1151s ok 203 /utf8/validate/201 1151s ok 204 /utf8/validate/202 1151s ok 205 /utf8/validate/203 1151s ok 206 /utf8/validate/204 1151s ok 207 /utf8/validate/205 1151s ok 208 /utf8/validate/206 1151s ok 209 /utf8/validate/207 1151s ok 210 /utf8/validate/208 1151s ok 211 /utf8/validate/209 1151s ok 212 /utf8/validate/210 1151s ok 213 /utf8/validate/211 1151s ok 214 /utf8/validate/212 1151s ok 215 /utf8/validate/213 1151s ok 216 /utf8/validate/214 1151s # End of validate tests 1151s # End of utf8 tests 1151s ok - glib/utf8-validate.test 1151s # Running test: glib/filter-streams.test 1151s TAP version 14 1151s # random seed: R02Sc45ea3870545bd65e0cebd446ac60bb6 1151s 1..4 1151s # Start of filter-stream tests 1151s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1151s ok 1 /filter-stream/input 1151s ok 2 /filter-stream/output 1151s ok 3 /filter-stream/async-input 1151s ok 4 /filter-stream/async-output 1151s # End of filter-stream tests 1151s ok - glib/filter-streams.test 1151s # Running test: glib/properties-refcount1.test 1151s TAP version 14 1151s # random seed: R02Sb2859a9877a974e4237dc4de9351826f 1151s 1..1 1151s # Start of gobject tests 1151s # Start of refcount tests 1151s # .c 1151s # .d 1151s # .b 1151s # .e 1151s # .f 1151s # .c 1151s # .d 1151s # .e 1151s # .f 1151s # .b 1151s # .f 1151s # .c 1151s # .f 1151s # .e 1151s # .f 1151s # .d 1151s # .b 1151s # .f 1151s # .c 1151s # .d 1151s # .e 1151s # .f 1151s # .b 1151s # .d 1151s # .c 1151s # .e 1151s # .f 1151s # .b 1151s # .c 1151s # .e 1151s # .d 1151s # .f 1151s # .b 1151s # .c 1151s # .e 1151s # .d 1151s # .f 1151s # .b 1151s # .c 1151s # .e 1151s # .b 1151s # .d 1151s # .c 1151s # .f 1151s # .d 1151s # .d 1151s # .d 1151s # .b 1151s # .e 1151s # .d 1151s # .f 1151s # .c 1151s # .d 1151s # .b 1151s # .f 1151s # .e 1151s # .c 1151s # .f 1151s # .d 1151s # .f 1151s # .b 1151s # .e 1151s # .c 1151s # .f 1151s # .d 1151s # .b 1151s # .c 1151s # .d 1151s # .f 1151s # .e 1151s # .b 1152s # .c 1152s # .d 1152s # .e 1152s # .f 1152s # .b 1152s # .d 1152s # .e 1152s # .c 1152s # .b 1152s # .f 1152s # .c 1152s # .d 1152s # .e 1152s # .b 1152s # .f 1152s # .c 1152s # .d 1152s # .e 1152s # .f 1152s # .b 1152s # .c 1152s # .d 1152s # .b 1152s # .f 1152s # .e 1152s # .c 1152s # .d 1152s # .b 1152s # .c 1152s # .f 1152s # .e 1152s # .b 1152s # .d 1152s # .c 1152s # .e 1152s # .f 1152s # .b 1152s # .d 1152s # .c 1152s # .d 1152s # .f 1152s # .e 1152s # .b 1152s # .c 1152s # .f 1152s # .e 1152s # .d 1152s # .c 1152s # .b 1152s # .f 1152s # .d 1152s # .e 1152s # .b 1152s # .c 1152s # .f 1152s # .e 1152s # .d 1152s # .c 1152s # .b 1152s # .e 1152s # .f 1152s # .d 1152s # .c 1152s # .e 1152s # .b 1152s # .f 1152s # .e 1152s # .d 1152s # .c 1152s # .b 1152s # .e 1152s # .f 1152s # .d 1152s # .c 1152s # .b 1152s # .e 1152s # .f 1152s # .b 1152s # .e 1152s # .d 1152s # .c 1153s # .b 1153s # .e 1153s # .f 1153s # .d 1153s # .b 1153s # .c 1153s # .e 1153s # .f 1153s # .b 1153s # .d 1153s # .c 1153s # .e 1153s # .f 1153s # .c 1153s # .b 1153s # .d 1153s # .f 1153s # .c 1153s # .e 1153s # .f 1153s # .b 1153s # .d 1153s # .c 1153s # .e 1153s # .f 1153s # .b 1153s # .d 1153s # .c 1153s # .f 1153s # .e 1153s # .b 1153s # .d 1153s # .c 1153s # .f 1153s # .b 1153s # .e 1153s # .d 1153s # .c 1153s # .f 1153s # .b 1153s # .e 1153s # .d 1153s # .c 1153s # .f 1153s # .b 1153s # .d 1153s # .c 1153s # .f 1153s # .e 1153s # Executing: glib/properties-refcount1.test 1153s # .b 1153s # .f 1153s # .d 1153s # .c 1153s # .e 1153s # .f 1153s # .c 1153s # .b 1153s # .d 1153s # .f 1153s # .d 1153s # .b 1153s # .e 1153s # .c 1153s # .b 1153s # .d 1153s # .e 1153s # .f 1153s # .c 1153s # .b 1153s # .d 1153s # .e 1153s # .c 1153s # .f 1153s # .b 1153s # .e 1153s # .f 1153s # .c 1153s # .d 1153s # .b 1153s # .c 1154s # .c 1154s # .e 1154s # .d 1154s # .f 1154s # .b 1154s # .c 1154s # .d 1154s # .f 1154s # .e 1154s # .b 1154s # .d 1154s ok 1 /gobject/refcount/properties-1 1154s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1154s # End of refcount tests 1154s # End of gobject tests 1154s ok - glib/properties-refcount1.test 1154s # Running test: glib/gnotification.test 1154s TAP version 14 1154s # random seed: R02S34cf48f4e8ff2df7c8002c0899c580f9 1154s 1..2 1154s # Start of gnotification tests 1154s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1154s ok 1 /gnotification/basic 1154s ok 2 /gnotification/properties 1154s # End of gnotification tests 1154s ok - glib/gnotification.test 1154s # Running test: glib/module-test-plugin.test 1154s TAP version 14 1154s # random seed: R02S093a222cb5983a6347cfea4f645af95a 1154s 1..3 1154s # Start of module tests 1154s ok 1 /module/basics 1154s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1154s ok 2 /module/invalid-libtool-archive 1154s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1154s ok 3 /module/local-binding 1154s # End of module tests 1154s ok - glib/module-test-plugin.test 1154s # Running test: glib/gdbus-peer-object-manager.test 1154s TAP version 14 1154s # random seed: R02Sda6fbb2bb77902af1e4c8d0dc25a51c5 1154s 1..2 1154s # Start of gdbus tests 1154s # Start of peer-object-manager tests 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/normal/.dirs/runtime 1154s ok 1 /gdbus/peer-object-manager/normal 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_R46UZ2/gdbus/peer-object-manager/root/.dirs/runtime 1154s ok 2 /gdbus/peer-object-manager/root 1154s # End of peer-object-manager tests 1154s # End of gdbus tests 1154s ok - glib/gdbus-peer-object-manager.test 1154s # Running test: glib/trash.test 1154s TAP version 14 1154s # random seed: R02S5f682cb258f6a5b32a210b1bed7d0e1d 1154s 1..3 1154s # Start of trash tests 1154s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1154s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1154s # File: /tmp/test-trashJ0LVZ2 (parent st_dev: 64769) 1154s # Home: /home/ubuntu (st_dev: 64769) 1154s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1154s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1154s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1154s ok 3 /trash/long-filename 1154s # End of trash tests 1154s ok - glib/trash.test 1154s # Running test: glib/unicode-encoding.test 1154s TAP version 14 1154s # random seed: R02Sd1f82b722b761f7fd162cf030761e77d 1154s 1..1 1154s # Start of unicode tests 1154s ok 1 /unicode/encoding 1154s # End of unicode tests 1154s ok - glib/unicode-encoding.test 1154s # Running test: glib/utils.test 1154s TAP version 14 1154s # random seed: R02Sdf379c0096cefbefc5e950152b530855 1154s 1..40 1154s # Start of utils tests 1154s ok 1 /utils/language-names 1154s ok 2 /utils/locale-variants 1154s ok 3 /utils/version 1154s ok 4 /utils/appname 1154s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1154s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1154s ok 5 /utils/prgname-thread-safety 1154s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1154s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1154s ok 6 /utils/tmpdir 1154s ok 7 /utils/basic_bits 1154s ok 8 /utils/bits 1154s ok 9 /utils/swap 1154s ok 10 /utils/find-program 1154s ok 11 /utils/find-program-for-path 1154s ok 12 /utils/debug 1154s ok 13 /utils/codeset 1154s ok 14 /utils/codeset2 1154s ok 15 /utils/console-charset 1154s ok 16 /utils/gettext 1154s ok 17 /utils/username 1154s ok 18 /utils/realname 1154s ok 19 /utils/hostname 1154s ok 20 /utils/xdgdirs 1154s ok 21 /utils/specialdir 1154s # NAME: Ubuntu 1154s ok 22 /utils/os-info 1154s ok 23 /utils/clear-pointer 1154s ok 24 /utils/clear-pointer-cast 1154s ok 25 /utils/take-pointer 1154s ok 26 /utils/clear-source 1154s ok 27 /utils/misc-mem 1154s # /utils/aligned-mem summary: Aligned memory allocator 1154s # Alignment must not be zero 1154s # Alignment must be a power of two 1154s # Alignment must be a multiple of sizeof(void*) 1154s ok 28 /utils/aligned-mem 1154s # /utils/free-sized summary: Check that g_free_sized() works 1154s ok 29 /utils/free-sized 1154s ok 30 /utils/nullify 1154s ok 31 /utils/atexit 1154s ok 32 /utils/check-setuid 1154s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1154s ok 33 /utils/int-limits 1154s ok 34 /utils/clear-list 1154s ok 35 /utils/clear-slist 1154s # Start of specialdir tests 1154s ok 36 /utils/specialdir/desktop 1154s # End of specialdir tests 1154s # Start of clear-pointer tests 1154s ok 37 /utils/clear-pointer/side-effects 1154s # End of clear-pointer tests 1154s # Start of aligned-mem tests 1154s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1154s ok 38 /utils/aligned-mem/alignment 1154s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1154s ok 39 /utils/aligned-mem/zeroed 1154s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1154s ok 40 /utils/aligned-mem/free-sized 1154s # Start of subprocess tests 1154s # End of subprocess tests 1154s # End of aligned-mem tests 1154s # End of utils tests 1154s ok - glib/utils.test 1154s # Running test: glib/defaultiface.test 1154s TAP version 14 1154s # random seed: R02Se091c7e9ca5ba04565786a6109be04d0 1154s 1..2 1154s # Start of gobject tests 1154s ok 1 /gobject/static-iface 1154s ok 2 /gobject/dynamic-iface 1154s # End of gobject tests 1154s ok - glib/defaultiface.test 1154s # Running test: glib/unix-fd.test 1154s TAP version 14 1154s # random seed: R02S2225fea6846a8c5968a8a2676d1febeb 1154s 1..2 1154s # Start of unix-fd tests 1154s ok 1 /unix-fd/fd-list 1154s ok 2 /unix-fd/scm 1154s # End of unix-fd tests 1154s ok - glib/unix-fd.test 1154s # Running test: glib/fdo-notification-backend.test 1154s TAP version 14 1154s # random seed: R02Sd6cc14b91671d17bfdc6dcf7d952e20d 1154s 1..2 1154s # Start of fdo-notification-backend tests 1154s # Test constructing a GFdoNotificationBackend 1154s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s ok 1 /fdo-notification-backend/construction 1154s # Start of dbus tests 1154s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1154s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s ok 2 /fdo-notification-backend/dbus/activate-action 1154s # End of dbus tests 1154s # End of fdo-notification-backend tests 1154s ok - glib/fdo-notification-backend.test 1154s # Running test: glib/spawn-singlethread.test 1154s TAP version 14 1154s # random seed: R02Sf032c0630ed63163e595a1b8f5912509 1154s 1..9 1154s # Start of gthread tests 1154s ok 1 /gthread/spawn-single-sync 1154s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1154s ok 2 /gthread/spawn-stderr-socket 1154s ok 3 /gthread/spawn-single-async 1154s # thread 1 1154s # thread 1 1154s ok 4 /gthread/spawn-single-async-with-fds 1154s ok 5 /gthread/spawn-async-with-invalid-fds 1154s ok 6 /gthread/spawn-script 1154s ok 7 /gthread/spawn-posix-spawn 1154s # Start of spawn tests 1154s ok 8 /gthread/spawn/nonexistent 1154s # FD map: 1154s # • 5 → 15 1154s # • 6 → 16 1154s # • 7 → 17 1154s # • 8 → 18 1154s # • 9 → 19 1154s # • 10 → 20 1154s # • 11 → 21 1154s # • 12 → 22 1154s # • 13 → 23 1154s # • 3 → 13 1154s ok 9 /gthread/spawn/fd-assignment-clash 1154s # End of spawn tests 1154s # End of gthread tests 1154s ok - glib/spawn-singlethread.test 1154s # Running test: glib/sequence.test 1154s TAP version 14 1154s # random seed: R02S27438a8a46ffd250bc64e3dbfb98cec0 1154s 1..16 1154s # Start of sequence tests 1154s ok 1 /sequence/out-of-range-jump 1154s ok 2 /sequence/iter-move 1154s ok 3 /sequence/insert-sorted-non-pointer 1154s ok 4 /sequence/stable-sort 1154s ok 5 /sequence/is_empty 1154s # Start of random tests 1154s ok 6 /sequence/random/seed:825541564 1154s # slow test /sequence/random/seed:825541564 executed in 0.55 secs 1155s ok 7 /sequence/random/seed:801678400 1155s # slow test /sequence/random/seed:801678400 executed in 0.52 secs 1156s ok 8 /sequence/random/seed:1477639090 1156s # slow test /sequence/random/seed:1477639090 executed in 0.54 secs 1156s ok 9 /sequence/random/seed:3369132895 1157s ok 10 /sequence/random/seed:1192944867 1157s # slow test /sequence/random/seed:1192944867 executed in 0.52 secs 1157s ok 11 /sequence/random/seed:770458294 1157s # slow test /sequence/random/seed:770458294 executed in 0.54 secs 1158s ok 12 /sequence/random/seed:1099575817 1158s # slow test /sequence/random/seed:1099575817 executed in 0.52 secs 1158s # Executing: glib/sequence.test 1158s ok 13 /sequence/random/seed:590523467 1158s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 1159s ok 14 /sequence/random/seed:3583571454 1159s # slow test /sequence/random/seed:3583571454 executed in 0.54 secs 1159s ok 15 /sequence/random/seed:579241222 1159s # slow test /sequence/random/seed:579241222 executed in 0.54 secs 1160s ok 16 /sequence/random/seed:357621933 1160s # slow test /sequence/random/seed:357621933 executed in 0.51 secs 1160s # End of random tests 1160s # End of sequence tests 1160s ok - glib/sequence.test 1160s # Running test: glib/memory-monitor-portal.test 1160s TAP version 13 1160s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1160s 1..1 1160s ok - glib/memory-monitor-portal.test 1160s # Running test: glib/basic-signals.test 1160s TAP version 14 1160s # random seed: R02S1b9952521a2429e632d2f7fb496178af 1160s 1..1 1160s # Start of gobject tests 1160s ok 1 /gobject/basic-signals 1160s # End of gobject tests 1160s ok - glib/basic-signals.test 1160s # Running test: glib/overflow-fallback.test 1160s TAP version 14 1160s # random seed: R02S79744595e0fcb7fc1e58921e450ba28b 1160s 1..6 1160s # Start of glib tests 1160s # Start of checked-math tests 1160s ok 1 /glib/checked-math/guint-add 1160s ok 2 /glib/checked-math/guint-mul 1160s ok 3 /glib/checked-math/guint64-add 1160s ok 4 /glib/checked-math/guint64-mul 1160s ok 5 /glib/checked-math/gsize-add 1160s ok 6 /glib/checked-math/gsize-mul 1160s # End of checked-math tests 1160s # End of glib tests 1160s ok - glib/overflow-fallback.test 1160s # Running test: glib/gthash.test 1160s TAP version 14 1160s # random seed: R02Sd6bd6e9e6657580ce7600fcbc028a2d7 1160s 1..1 1160s # Start of gthash tests 1160s ok 1 /gthash/build-retrieve 1160s # End of gthash tests 1160s ok - glib/gthash.test 1160s # Running test: glib/memory-monitor-dbus.test 1161s TAP version 13 1161s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1161s 1..1 1161s ok - glib/memory-monitor-dbus.test 1161s # Running test: glib/pollable.test 1161s TAP version 14 1161s # random seed: R02S5b35479980e42d58a163dcbc19fc1240 1161s 1..6 1161s # Start of pollable tests 1161s ok 1 /pollable/converter 1161s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1161s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe12037fe7b0 and GSocketClientAsyncConnectData 0xbe12037f1ae0 1161s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1161s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1161s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe12037ff870 for GSocketClientAsyncConnectData 0xbe12037f1ae0 1161s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1161s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1161s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1161s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1161s ok 2 /pollable/socket 1161s # Start of unix tests 1161s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1161s ok 3 /pollable/unix/pipe 1161s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1161s ok 4 /pollable/unix/pty 1161s # /pollable/unix/file summary: Test that regular files are not considered pollable 1161s ok 5 /pollable/unix/file 1161s # /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 1161s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1161s # End of unix tests 1161s # End of pollable tests 1161s ok - glib/pollable.test 1161s # Running test: glib/thread.test 1161s TAP version 14 1161s # random seed: R02S377c03850a335e431f028c088a8444f1 1161s 1..7 1161s # Start of thread tests 1161s ok 1 /thread/thread1 1161s ok 2 /thread/thread2 1161s ok 3 /thread/thread3 1161s ok 4 /thread/thread4 1161s ok 5 /thread/thread5 1161s ok 6 /thread/thread6 1161s ok 7 /thread/thread7 1161s # End of thread tests 1161s ok - glib/thread.test 1161s # Running test: glib/performance.test 1161s Running test simple-construction 1163s # Executing: glib/performance.test 1168s # Executing: glib/performance.test 1169s simple-construction: Millions of constructed objects per second: 13.835 1169s Running test simple-construction1 1172s simple-construction1: Millions of constructed objects per second: 67.531 1172s Running test complex-construction 1173s # Executing: glib/performance.test 1175s complex-construction: Millions of constructed objects per second: 5.219 1175s Running test complex-construction1 1178s # Executing: glib/performance.test 1179s complex-construction1: Millions of constructed objects per second: 8.467 1179s Running test complex-construction2 1183s # Executing: glib/performance.test 1184s complex-construction2: Millions of constructed objects per second: 11.400 1184s Running test finalization 1186s finalization: Millions of finalized objects per second: 2.955 1186s Running test type-check 1186s type-check: Million type checks per second: inf 1186s Running test emit-unhandled 1187s emit-unhandled: Emissions per second: 4644356 1187s Running test emit-unhandled-empty 1188s emit-unhandled-empty: Emissions per second: 26058423 1188s Running test emit-unhandled-generic 1188s # Executing: glib/performance.test 1189s emit-unhandled-generic: Emissions per second: 5931903 1189s Running test emit-unhandled-generic-empty 1190s emit-unhandled-generic-empty: Emissions per second: 26109550 1190s Running test emit-unhandled-args 1191s emit-unhandled-args: Emissions per second: 4031179 1191s Running test emit-handled 1192s emit-handled: Emissions per second: 3175439 1192s Running test emit-handled-empty 1193s emit-handled-empty: Emissions per second: 3334662 1193s Running test emit-handled-generic 1193s # Executing: glib/performance.test 1194s emit-handled-generic: Emissions per second: 3290238 1194s Running test emit-handled-generic-empty 1195s emit-handled-generic-empty: Emissions per second: 5309393 1195s Running test emit-handled-args 1196s emit-handled-args: Emissions per second: 2916280 1196s Running test notify-unhandled 1197s notify-unhandled: Notify (unhandled) per second: 26699951 1197s Running test notify-by-pspec-unhandled 1198s notify-by-pspec-unhandled: Notify (unhandled) per second: 95758723 1198s Running test notify-handled 1198s # Executing: glib/performance.test 1199s notify-handled: Notify per second: 1934914 1199s Running test notify-by-pspec-handled 1200s notify-by-pspec-handled: Notify per second: 2052883 1200s Running test property-set 1201s property-set: Property set per second: 13646050 1201s Running test property-get 1202s property-get: Property get per second: 13498625 1202s Running test refcount 1203s # Executing: glib/performance.test 1203s refcount: Million refs+unref per second: 26.93 1203s Running test refcount-1 1204s refcount-1: Million refs+unref per second: 83.25 1204s Running test refcount-toggle 1205s refcount-toggle: Million refs+unref per second: 42.95 1205s ok - glib/performance.test 1205s # Running test: glib/642026-ec.test 1205s TAP version 14 1205s # random seed: R02Sc10b8dcbf348e0e0d1ac8e851646aea5 1205s 1..1 1205s # Start of glib tests 1205s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1205s ok 1 /glib/642026 1205s # End of glib tests 1205s ok - glib/642026-ec.test 1205s # Running test: glib/atomic-c-89.test 1205s TAP version 14 1205s # random seed: R02Sc20f81bf9ef9482bb5f5987cfdb64c1b 1205s 1..2 1205s # Start of atomic tests 1205s ok 1 /atomic/types 1205s ok 2 /atomic/threaded 1205s # End of atomic tests 1205s ok - glib/atomic-c-89.test 1205s # Running test: glib/slice.test 1205s TAP version 14 1205s # random seed: R02Sb1c04eba754809138e0d5a84d46bef12 1205s 1..3 1205s # Start of slice tests 1205s ok 1 /slice/copy 1205s ok 2 /slice/chain 1206s ok 3 /slice/allocate 1206s # End of slice tests 1206s ok - glib/slice.test 1206s # Running test: glib/array-test.test 1206s TAP version 14 1206s # random seed: R02S2c2cc91cf7ffc9272827aa3718c6ef64 1206s 1..113 1206s # Start of array tests 1206s ok 1 /array/ref-count 1206s ok 2 /array/steal 1206s ok 3 /array/clear-func 1206s ok 4 /array/binary-search 1206s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1206s ok 5 /array/copy-sized 1206s ok 6 /array/overflow-append-vals 1206s ok 7 /array/overflow-set-size 1206s # Start of new tests 1206s ok 8 /array/new/zero-terminated 1206s ok 9 /array/new/take 1206s ok 10 /array/new/take-zero-terminated 1206s # Start of take tests 1206s ok 11 /array/new/take/empty 1206s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1206s # End of take tests 1206s # End of new tests 1206s # Start of set-size tests 1206s ok 13 /array/set-size/non-zero-terminated-no-clear 1206s ok 14 /array/set-size/non-zero-terminated-clear 1206s ok 15 /array/set-size/zero-terminated-no-clear 1206s ok 16 /array/set-size/zero-terminated-clear 1206s # Start of sized tests 1206s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1206s ok 18 /array/set-size/sized/non-zero-terminated-clear 1206s ok 19 /array/set-size/sized/zero-terminated-no-clear 1206s ok 20 /array/set-size/sized/zero-terminated-clear 1206s # End of sized tests 1206s # End of set-size tests 1206s # Start of append-val tests 1206s ok 21 /array/append-val/non-zero-terminated-no-clear 1206s ok 22 /array/append-val/non-zero-terminated-clear 1206s ok 23 /array/append-val/zero-terminated-no-clear 1206s ok 24 /array/append-val/zero-terminated-clear 1206s # End of append-val tests 1206s # Start of prepend-val tests 1206s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1206s ok 26 /array/prepend-val/non-zero-terminated-clear 1206s ok 27 /array/prepend-val/zero-terminated-no-clear 1206s ok 28 /array/prepend-val/zero-terminated-clear 1206s # End of prepend-val tests 1206s # Start of prepend-vals tests 1206s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1206s ok 30 /array/prepend-vals/non-zero-terminated-clear 1206s ok 31 /array/prepend-vals/zero-terminated-no-clear 1206s ok 32 /array/prepend-vals/zero-terminated-clear 1206s # End of prepend-vals tests 1206s # Start of insert-vals tests 1206s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1206s ok 34 /array/insert-vals/non-zero-terminated-clear 1206s ok 35 /array/insert-vals/zero-terminated-no-clear 1206s ok 36 /array/insert-vals/zero-terminated-clear 1206s # End of insert-vals tests 1206s # Start of remove-index tests 1206s ok 37 /array/remove-index/non-zero-terminated-no-clear 1206s ok 38 /array/remove-index/non-zero-terminated-clear 1206s ok 39 /array/remove-index/zero-terminated-no-clear 1206s ok 40 /array/remove-index/zero-terminated-clear 1206s # End of remove-index tests 1206s # Start of remove-index-fast tests 1206s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1206s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1206s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1206s ok 44 /array/remove-index-fast/zero-terminated-clear 1206s # End of remove-index-fast tests 1206s # Start of remove-range tests 1206s ok 45 /array/remove-range/non-zero-terminated-no-clear 1206s ok 46 /array/remove-range/non-zero-terminated-clear 1206s ok 47 /array/remove-range/zero-terminated-no-clear 1206s ok 48 /array/remove-range/zero-terminated-clear 1206s # End of remove-range tests 1206s # Start of copy tests 1206s ok 49 /array/copy/non-zero-terminated-no-clear 1206s ok 50 /array/copy/non-zero-terminated-clear 1206s ok 51 /array/copy/zero-terminated-no-clear 1206s ok 52 /array/copy/zero-terminated-clear 1206s # End of copy tests 1206s # Start of sort tests 1206s ok 53 /array/sort/non-zero-terminated-no-clear 1206s ok 54 /array/sort/non-zero-terminated-clear 1206s ok 55 /array/sort/zero-terminated-no-clear 1206s ok 56 /array/sort/zero-terminated-clear 1206s # End of sort tests 1206s # Start of sort-with-data tests 1206s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1206s ok 58 /array/sort-with-data/non-zero-terminated-clear 1206s ok 59 /array/sort-with-data/zero-terminated-no-clear 1206s ok 60 /array/sort-with-data/zero-terminated-clear 1206s # End of sort-with-data tests 1206s # End of array tests 1206s # Start of pointerarray tests 1206s ok 61 /pointerarray/add 1206s ok 62 /pointerarray/insert 1206s ok 63 /pointerarray/new-take 1206s ok 64 /pointerarray/new-take-null-terminated 1206s ok 65 /pointerarray/new-from-array 1206s ok 66 /pointerarray/new-from-null-terminated-array 1206s ok 67 /pointerarray/free-func 1206s ok 68 /pointerarray/array_extend_and_steal 1206s ok 69 /pointerarray/sort 1206s ok 70 /pointerarray/sort-with-data 1206s ok 71 /pointerarray/sort-values 1206s ok 72 /pointerarray/sort-values-with-data 1206s ok 73 /pointerarray/remove-range 1206s ok 74 /pointerarray/steal 1206s # Start of free tests 1206s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1206s ok 75 /pointerarray/free/null-terminated 1206s # End of free tests 1206s # Start of new-take tests 1206s ok 76 /pointerarray/new-take/empty 1206s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1206s ok 78 /pointerarray/new-take/with-free-func 1206s # End of new-take tests 1206s # Start of new-take-null-terminated tests 1206s ok 79 /pointerarray/new-take-null-terminated/empty 1206s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1206s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1206s # End of new-take-null-terminated tests 1206s # Start of new-from-array tests 1206s ok 82 /pointerarray/new-from-array/empty 1206s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1206s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1206s # End of new-from-array tests 1206s # Start of new-from-null-terminated-array tests 1206s ok 85 /pointerarray/new-from-null-terminated-array/empty 1206s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1206s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1206s # End of new-from-null-terminated-array tests 1206s # Start of ref-count tests 1206s ok 88 /pointerarray/ref-count/not-null-terminated 1206s ok 89 /pointerarray/ref-count/null-terminated 1206s # End of ref-count tests 1206s # Start of array_copy tests 1206s # /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 1206s ok 90 /pointerarray/array_copy/not-null-terminated 1206s # /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 1206s ok 91 /pointerarray/array_copy/null-terminated 1206s # End of array_copy tests 1206s # Start of array_extend tests 1206s ok 92 /pointerarray/array_extend/not-null-terminated 1206s ok 93 /pointerarray/array_extend/null-terminated 1206s # End of array_extend tests 1206s # Start of sort tests 1206s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1206s ok 94 /pointerarray/sort/example 1206s # End of sort tests 1206s # Start of sort-with-data tests 1206s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1206s ok 95 /pointerarray/sort-with-data/example 1206s # End of sort-with-data tests 1206s # Start of sort-values tests 1206s ok 96 /pointerarray/sort-values/example 1206s # End of sort-values tests 1206s # Start of sort-values-with-data tests 1206s ok 97 /pointerarray/sort-values-with-data/example 1206s # End of sort-values-with-data tests 1206s # Start of find tests 1206s ok 98 /pointerarray/find/empty 1206s ok 99 /pointerarray/find/non-empty 1206s # End of find tests 1206s # Start of steal_index tests 1206s ok 100 /pointerarray/steal_index/not-null-terminated 1206s ok 101 /pointerarray/steal_index/null-terminated 1206s # End of steal_index tests 1206s # End of pointerarray tests 1206s # Start of bytearray tests 1206s ok 102 /bytearray/steal 1206s ok 103 /bytearray/append 1206s ok 104 /bytearray/prepend 1206s ok 105 /bytearray/remove 1206s ok 106 /bytearray/remove-fast 1206s ok 107 /bytearray/remove-range 1206s ok 108 /bytearray/ref-count 1206s ok 109 /bytearray/sort 1206s ok 110 /bytearray/sort-with-data 1206s ok 111 /bytearray/new-take 1206s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1206s ok 113 /bytearray/free-to-bytes 1206s # End of bytearray tests 1206s ok - glib/array-test.test 1206s # Running test: glib/asyncqueue.test 1206s TAP version 14 1206s # random seed: R02S6ecb0956fdf1404f0a3bb37a30aa38c1 1206s 1..7 1206s # Start of asyncqueue tests 1206s ok 1 /asyncqueue/basics 1206s ok 2 /asyncqueue/sort 1206s ok 3 /asyncqueue/destroy 1206s ok 4 /asyncqueue/threads 1206s ok 5 /asyncqueue/timed 1206s ok 6 /asyncqueue/remove 1206s ok 7 /asyncqueue/push_front 1206s # End of asyncqueue tests 1206s ok - glib/asyncqueue.test 1206s # Running test: glib/keyfile.test 1206s TAP version 14 1206s # random seed: R02S0fe4f5253cb28933ff51712beb3a9e51 1206s 1..36 1206s # Start of keyfile tests 1206s ok 1 /keyfile/line-ends 1206s ok 2 /keyfile/whitespace 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1206s ok 3 /keyfile/comments 1206s ok 4 /keyfile/listing 1206s ok 5 /keyfile/string 1206s ok 6 /keyfile/boolean 1206s ok 7 /keyfile/number 1206s ok 8 /keyfile/locale-string 1206s ok 9 /keyfile/lists 1206s ok 10 /keyfile/lists-set-get 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1206s ok 11 /keyfile/group-remove 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1206s ok 12 /keyfile/key-remove 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1206s ok 13 /keyfile/groups 1206s ok 14 /keyfile/duplicate-keys 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1206s ok 15 /keyfile/duplicate-groups 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1206s ok 16 /keyfile/duplicate-groups2 1206s ok 17 /keyfile/group-names 1206s ok 18 /keyfile/key-names 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1206s ok 19 /keyfile/reload 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1206s ok 20 /keyfile/int64 1206s ok 21 /keyfile/load 1206s ok 22 /keyfile/save 1206s ok 23 /keyfile/load-fail 1206s ok 24 /keyfile/non-utf8 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1206s ok 25 /keyfile/page-boundary 1206s ok 26 /keyfile/ref 1206s ok 27 /keyfile/replace-value 1206s ok 28 /keyfile/list-separator 1206s ok 29 /keyfile/empty-string 1206s ok 30 /keyfile/limbo 1206s # Testing invalid encoding ?non-UTF-8? 1206s # Testing invalid encoding ?UTF? 1206s # Testing invalid encoding ?UTF-9? 1206s ok 31 /keyfile/utf8 1206s ok 32 /keyfile/roundtrip 1206s ok 33 /keyfile/bytes 1206s ok 34 /keyfile/get-locale 1206s ok 35 /keyfile/free-when-not-last-ref 1206s # Start of locale-string tests 1206s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1206s ok 36 /keyfile/locale-string/multiple-loads 1206s # End of locale-string tests 1206s # End of keyfile tests 1206s ok - glib/keyfile.test 1206s # Running test: glib/gvariant.test 1206s TAP version 14 1206s # random seed: R02S6a7dddc2ca6661dac64ff31884ecfa6b 1206s 1..64 1206s # Start of gvariant tests 1206s ok 1 /gvariant/type 1206s ok 2 /gvariant/typeinfo 1206s ok 3 /gvariant/string 1206s ok 4 /gvariant/utf8 1207s ok 5 /gvariant/containers 1207s ok 6 /gvariant/format-strings 1207s ok 7 /gvariant/invalid-varargs 1207s ok 8 /gvariant/varargs 1207s ok 9 /gvariant/valist 1207s ok 10 /gvariant/builder-memory 1207s ok 11 /gvariant/hashing 1207s ok 12 /gvariant/byteswap 1207s ok 13 /gvariant/parser 1207s ok 14 /gvariant/parse-failures 1207s ok 15 /gvariant/parse-positional 1207s ok 16 /gvariant/floating 1207s ok 17 /gvariant/bytestring 1207s ok 18 /gvariant/lookup-value 1207s ok 19 /gvariant/lookup 1207s ok 20 /gvariant/compare 1207s ok 21 /gvariant/equal 1207s ok 22 /gvariant/fixed-array 1207s ok 23 /gvariant/check-format-string 1207s ok 24 /gvariant/checksum-basic 1207s ok 25 /gvariant/checksum-nested 1207s ok 26 /gvariant/gbytes 1207s ok 27 /gvariant/print-context 1207s ok 28 /gvariant/error-quark 1207s ok 29 /gvariant/stack-builder-init 1207s ok 30 /gvariant/stack-dict-init 1207s ok 31 /gvariant/unaligned-construction 1207s # Start of type tests 1207s # Start of string-scan tests 1207s # Start of recursion tests 1207s ok 32 /gvariant/type/string-scan/recursion/tuple 1207s ok 33 /gvariant/type/string-scan/recursion/array 1207s # End of recursion tests 1207s # End of string-scan tests 1207s # End of type tests 1207s # Start of serialiser tests 1207s ok 34 /gvariant/serialiser/maybe 1207s ok 35 /gvariant/serialiser/array 1208s ok 36 /gvariant/serialiser/tuple 1208s ok 37 /gvariant/serialiser/variant 1208s ok 38 /gvariant/serialiser/strings 1208s # Executing: glib/gvariant.test 1210s ok 39 /gvariant/serialiser/byteswap 1210s # slow test /gvariant/serialiser/byteswap executed in 2.23 secs 1210s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1210s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1210s ok 40 /gvariant/serialiser/children 1210s # Start of fuzz tests 1210s ok 41 /gvariant/serialiser/fuzz/1% 1210s ok 42 /gvariant/serialiser/fuzz/5% 1211s ok 43 /gvariant/serialiser/fuzz/9% 1211s ok 44 /gvariant/serialiser/fuzz/13% 1211s ok 45 /gvariant/serialiser/fuzz/17% 1211s # End of fuzz tests 1211s # End of serialiser tests 1211s # Start of varargs tests 1211s # Start of subprocess tests 1211s # End of subprocess tests 1211s # End of varargs tests 1211s # Start of byteswap tests 1211s # /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. 1211s ok 46 /gvariant/byteswap/non-normal-non-aligned 1211s # End of byteswap tests 1211s # Start of parser tests 1211s ok 47 /gvariant/parser/integer-bounds 1211s ok 48 /gvariant/parser/recursion 1211s # Start of recursion tests 1211s ok 49 /gvariant/parser/recursion/typedecls 1211s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1211s # Text form 0: @mmmu 5 1211s # Text form 1: @mmmas ['hello'] 1211s # Text form 2: @mmmu just just nothing 1211s # Text form 3: @mmmas just just nothing 1211s # Text form 4: @mmmu just nothing 1211s # Text form 5: @mmmas just nothing 1211s # Text form 6: @mmmu nothing 1211s # Text form 7: @mmmas nothing 1211s ok 50 /gvariant/parser/recursion/maybes 1211s # End of recursion tests 1211s # End of parser tests 1211s # Start of parse tests 1211s # Start of subprocess tests 1211s # End of subprocess tests 1211s # End of parse tests 1211s # Start of normal-checking tests 1211s ok 51 /gvariant/normal-checking/tuples 1211s ok 52 /gvariant/normal-checking/array-offsets 1211s ok 53 /gvariant/normal-checking/array-offsets2 1211s ok 54 /gvariant/normal-checking/tuple-offsets 1211s ok 55 /gvariant/normal-checking/tuple-offsets2 1211s ok 56 /gvariant/normal-checking/tuple-offsets3 1211s ok 57 /gvariant/normal-checking/tuple-offsets4 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1211s ok 58 /gvariant/normal-checking/tuple-offsets5 1211s ok 59 /gvariant/normal-checking/empty-object-path 1211s # Start of array-offsets tests 1211s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1211s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1211s # End of array-offsets tests 1211s # Start of tuple-offsets tests 1211s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1211s # End of tuple-offsets tests 1211s # End of normal-checking tests 1211s # Start of recursion-limits tests 1211s ok 63 /gvariant/recursion-limits/variant-in-variant 1211s ok 64 /gvariant/recursion-limits/array-in-variant 1211s # End of recursion-limits tests 1211s # End of gvariant tests 1211s ok - glib/gvariant.test 1211s # Running test: glib/thread-deprecated.test 1211s TAP version 14 1211s # random seed: R02Sda953d9bc38698edf9198939c5ca504c 1211s 1..6 1211s # Start of thread tests 1211s ok 1 /thread/mutex 1212s ok 2 /thread/static-rec-mutex 1213s # Executing: glib/thread-deprecated.test 1216s ok 3 /thread/static-private 1216s # slow test /thread/static-private executed in 4.40 secs 1218s # Executing: glib/thread-deprecated.test 1221s ok 4 /thread/static-rw-lock 1221s # slow test /thread/static-rw-lock executed in 5.00 secs 1221s ok 5 /thread/once 1223s # Executing: glib/thread-deprecated.test 1228s # Executing: glib/thread-deprecated.test 1231s ok 6 /thread/rerun-all 1231s # slow test /thread/rerun-all executed in 10.02 secs 1231s # End of thread tests 1231s ok - glib/thread-deprecated.test 1231s # Running test: glib/overflow.test 1231s TAP version 14 1231s # random seed: R02Sa73b60b4cadb6e65d02aaa2fd7ea788b 1231s 1..6 1231s # Start of glib tests 1231s # Start of checked-math tests 1231s ok 1 /glib/checked-math/guint-add 1231s ok 2 /glib/checked-math/guint-mul 1231s ok 3 /glib/checked-math/guint64-add 1231s ok 4 /glib/checked-math/guint64-mul 1231s ok 5 /glib/checked-math/gsize-add 1231s ok 6 /glib/checked-math/gsize-mul 1231s # End of checked-math tests 1231s # End of glib tests 1231s ok - glib/overflow.test 1231s # Running test: glib/gdbus-exit-on-close.test 1231s TAP version 14 1231s # random seed: R02S99089205da51df8c16ae37e773bb6930 1231s 1..4 1231s # Start of gdbus tests 1231s # Start of exit-on-close tests 1231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/home 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/cache 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/system-config2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/config 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/system-data2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/data 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/state 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/default/.dirs/runtime 1231s ok 1 /gdbus/exit-on-close/default 1231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/home 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/cache 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/system-config2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/config 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/system-data2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/data 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/state 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/true/.dirs/runtime 1231s ok 2 /gdbus/exit-on-close/true 1231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/home 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/cache 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/system-config2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/config 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/system-data2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/data 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/state 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/false/.dirs/runtime 1231s ok 3 /gdbus/exit-on-close/false 1231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/home 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/cache 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/system-config2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/config 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/system-data2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/data 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/state 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FUQJZ2/gdbus/exit-on-close/we-close/.dirs/runtime 1232s ok 4 /gdbus/exit-on-close/we-close 1232s # Start of default tests 1232s # End of default tests 1232s # Start of true tests 1232s # End of true tests 1232s # Start of false tests 1232s # End of false tests 1232s # Start of we-close tests 1232s # End of we-close tests 1232s # End of exit-on-close tests 1232s # End of gdbus tests 1232s ok - glib/gdbus-exit-on-close.test 1232s # Running test: glib/gdbus-connection-slow.test 1232s TAP version 14 1232s # random seed: R02S6e58887d3eba259e4dbeb02bac81d5cc 1232s 1..2 1232s # Start of gdbus tests 1232s # Start of connection tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/flush/.dirs/runtime 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s ok 1 /gdbus/connection/flush 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_G3GRZ2/gdbus/connection/large_message/.dirs/runtime 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s ok 2 /gdbus/connection/large_message 1232s # End of connection tests 1232s # End of gdbus tests 1232s ok - glib/gdbus-connection-slow.test 1232s # Running test: glib/basics-gobject.test 1232s TAP version 14 1232s # random seed: R02S47af3bfe7556bf5db0367334df2f2899 1232s 1..1 1232s # Start of gobject tests 1232s # private data during initialization: 54321 == 54321 1232s # MAIN: emit test-signal: 1232s # ::test_signal default_handler called 1232s # ::test_signal default_handler called 1232s # ::test_signal default_handler called 1232s # signal return: "" 1232s # MAIN: call iface print-string on test and derived object: 1232s # Iface-FOO: "iface-string-from-test-type" from 0xc438f30537b0 1232s # Iface-BAR: "iface-string-from-derived-type" from 0xc438f30536d0 1232s # chaining: 1232s # Iface-FOO: "iface-string-from-derived-type" from 0xc438f30536d0 1232s # private data after initialization: 54321 == 54321 1232s ok 1 /gobject/basics 1232s # End of gobject tests 1232s ok - glib/basics-gobject.test 1232s # Running test: glib/gdbus-test-codegen.test 1232s TAP version 14 1232s # random seed: R02S86a2321978c926d015fec1d7abb4fe5a 1232s 1..8 1232s # Start of gdbus tests 1232s # Start of codegen tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/annotations/.dirs/runtime 1232s ok 1 /gdbus/codegen/annotations 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/interface_stability/.dirs/runtime 1232s ok 2 /gdbus/codegen/interface_stability 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/object-manager/.dirs/runtime 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s ok 3 /gdbus/codegen/object-manager 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/property-naming/.dirs/runtime 1232s ok 4 /gdbus/codegen/property-naming 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/autocleanups/.dirs/runtime 1232s ok 5 /gdbus/codegen/autocleanups 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/deprecations/.dirs/runtime 1232s ok 6 /gdbus/codegen/deprecations 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1232s ok 7 /gdbus/codegen/standalone-interface-info 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZU5MZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1232s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1232s ok 8 /gdbus/codegen/unix-fd-list 1232s # End of codegen tests 1232s # End of gdbus tests 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1232s ok - glib/gdbus-test-codegen.test 1232s # Running test: glib/portal-support-env-var.test 1232s TAP version 14 1232s # random seed: R02Sa4e0d8b2f0bcfb58528cdc82ede82ea9 1232s 1..1 1232s # Start of portal-support tests 1232s ok 1 /portal-support/env-var 1232s # End of portal-support tests 1232s ok - glib/portal-support-env-var.test 1232s # Running test: glib/type.test 1232s TAP version 14 1232s # random seed: R02S1ea7b082ab00faf295871b3174fbe48c 1232s 1..6 1232s # Start of type tests 1232s ok 1 /type/registration-serial 1232s ok 2 /type/interface-prerequisite 1232s ok 3 /type/interface-check 1232s ok 4 /type/next-base 1232s ok 5 /type/is-a 1232s # Invalid types can?t be queried. 1232s # Unclassed types can?t be queried. 1232s ok 6 /type/query 1232s # End of type tests 1232s ok - glib/type.test 1232s # Running test: glib/repository-search-paths.test 1232s TAP version 14 1232s # random seed: R02S877dbdd3e87a5e720e09053bef2e451a 1232s 1..4 1232s # Start of repository tests 1232s # Start of search-paths tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/default/.dirs/runtime 1232s ok 1 /repository/search-paths/default 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1SQOZ2/repository/search-paths/prepend/.dirs/runtime 1232s ok 2 /repository/search-paths/prepend 1232s # End of search-paths tests 1232s # Start of library-paths tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/default/.dirs/runtime 1232s ok 3 /repository/library-paths/default 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1SQOZ2/repository/library-paths/prepend/.dirs/runtime 1232s ok 4 /repository/library-paths/prepend 1232s # End of library-paths tests 1232s # End of repository tests 1232s ok - glib/repository-search-paths.test 1232s # Running test: glib/gdbus-proxy.test 1232s TAP version 14 1232s # random seed: R02Sfb85f2b76df0b1486b8cb65ec1aeb245 1232s 1..5 1232s # Start of gdbus tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/.dirs/runtime 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # Executing: glib/gdbus-proxy.test 1234s ok 1 /gdbus/proxy 1234s # slow test /gdbus/proxy executed in 1.73 secs 1234s # Start of proxy tests 1234s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/home 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/cache 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/system-config2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/config 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/system-data2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/data 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/state 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-properties/.dirs/runtime 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s ok 2 /gdbus/proxy/no-properties 1234s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/home 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/cache 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/config 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/data 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/state 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s ok 3 /gdbus/proxy/wellknown-noauto 1234s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/home 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/cache 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/system-config2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/config 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/system-data2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/data 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/state 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/async/.dirs/runtime 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s ok 4 /gdbus/proxy/async 1236s # slow test /gdbus/proxy/async executed in 1.75 secs 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MOUOZ2/gdbus/proxy/no-match-rule/.dirs/runtime 1236s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s ok 5 /gdbus/proxy/no-match-rule 1238s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 1238s # End of proxy tests 1238s # End of gdbus tests 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s ok - glib/gdbus-proxy.test 1238s # Running test: glib/properties-introspection.test 1238s TAP version 14 1238s # random seed: R02S62bec14ae039fccc943ede7b241e3db9 1238s 1..2 1238s # Start of properties tests 1238s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1238s ok 1 /properties/introspection 1238s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1238s ok 2 /properties/collision 1238s # End of properties tests 1238s ok - glib/properties-introspection.test 1238s # Running test: glib/memory-settings-backend.test 1238s TAP version 14 1238s # random seed: R02Sccb0f323c91de82efa435cb30298a983 1238s 1..1 1238s # Start of memory-settings-backend tests 1238s ok 1 /memory-settings-backend/extension-point-registered 1238s # End of memory-settings-backend tests 1238s ok - glib/memory-settings-backend.test 1238s # Running test: glib/gdbus-introspection.test 1238s TAP version 14 1238s # random seed: R02S7a3a93dacc79c593e8ba0073768e7688 1238s 1..4 1238s # Start of gdbus tests 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-parser/.dirs/runtime 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s ok 1 /gdbus/introspection-parser 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-generate/.dirs/runtime 1238s ok 2 /gdbus/introspection-generate 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-default-direction/.dirs/runtime 1238s ok 3 /gdbus/introspection-default-direction 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_52CVZ2/gdbus/introspection-extra-data/.dirs/runtime 1238s ok 4 /gdbus/introspection-extra-data 1238s # End of gdbus tests 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s ok - glib/gdbus-introspection.test 1238s # Running test: glib/converter-stream.test 1238s TAP version 14 1238s # random seed: R02S8c5eb4b27c73104010aa036aab03137c 1238s 1..17 1238s # Start of converter tests 1238s ok 1 /converter/basics 1238s # End of converter tests 1238s # Start of converter-input-stream tests 1238s ok 2 /converter-input-stream/expander 1238s ok 3 /converter-input-stream/compressor 1238s # Start of truncation tests 1238s ok 4 /converter-input-stream/truncation/zlib 1238s ok 5 /converter-input-stream/truncation/gzip 1238s ok 6 /converter-input-stream/truncation/raw 1238s # End of truncation tests 1238s # Start of charset tests 1238s ok 7 /converter-input-stream/charset/utf8->latin1 1238s ok 8 /converter-input-stream/charset/latin1->utf8 1238s ok 9 /converter-input-stream/charset/fallbacks 1238s # End of charset tests 1238s # End of converter-input-stream tests 1238s # Start of converter-output-stream tests 1238s # Start of roundtrip tests 1238s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1238s ok 10 /converter-output-stream/roundtrip/zlib-0 1238s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1238s # Executing: glib/converter-stream.test 1238s ok 11 /converter-output-stream/roundtrip/zlib-9 1238s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1238s ok 12 /converter-output-stream/roundtrip/gzip-0 1238s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1238s ok 13 /converter-output-stream/roundtrip/gzip-9 1238s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1238s ok 14 /converter-output-stream/roundtrip/raw-0 1238s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1239s ok 15 /converter-output-stream/roundtrip/raw-9 1239s # End of roundtrip tests 1239s # End of converter-output-stream tests 1239s # Start of converter-stream tests 1239s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1239s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xba10114e2ea0 and GSocketClientAsyncConnectData 0xba10118d8330 1239s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1239s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1239s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xba10114f3620 for GSocketClientAsyncConnectData 0xba10118d8330 1239s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1239s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1239s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1239s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1239s ok 16 /converter-stream/pollable 1239s ok 17 /converter-stream/leftover 1239s # End of converter-stream tests 1239s ok - glib/converter-stream.test 1239s # Running test: glib/autoptr-gio.test 1239s TAP version 14 1239s # random seed: R02S0964fdfdcf6390627162df20bc5788d6 1239s 1..1 1239s # Start of autoptr tests 1239s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1239s ok 1 /autoptr/autoptr 1239s # End of autoptr tests 1239s ok - glib/autoptr-gio.test 1239s # Running test: glib/properties-refcount3.test 1239s TAP version 14 1239s # random seed: R02S77b4812d2183c88c2c7a2c97a40eb28f 1239s 1..1 1239s # Start of gobject tests 1239s # Start of refcount tests 1243s # Executing: glib/properties-refcount3.test 1248s # Executing: glib/properties-refcount3.test 1253s # Executing: glib/properties-refcount3.test 1258s # Executing: glib/properties-refcount3.test 1263s # Executing: glib/properties-refcount3.test 1268s # Executing: glib/properties-refcount3.test 1269s # 1269s # stopping 1269s # 1269s # stopped 1269s # 1269s # 28178257 221123 1269s # 1269s ok 1 /gobject/refcount/properties-3 1269s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1269s # End of refcount tests 1269s # End of gobject tests 1269s ok - glib/properties-refcount3.test 1269s # Running test: glib/module-test-library.test 1269s TAP version 14 1269s # random seed: R02S238d11137f6358f0a6d001b9ea6b9c6f 1269s 1..3 1269s # Start of module tests 1269s ok 1 /module/basics 1269s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1269s ok 2 /module/invalid-libtool-archive 1269s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1269s ok 3 /module/local-binding 1269s # End of module tests 1269s ok - glib/module-test-library.test 1269s # Running test: glib/closure-refcount.test 1269s TAP version 14 1269s # random seed: R02S3c7a0058787a6cb23acbf8faf61d29e7 1269s 1..1 1269s # Start of closure tests 1269s # Init 0xae1076dd21e0 1269s # Yielding from main thread 1269s # Yielding from main thread 1269s # Yielding from thread1 1269s # Yielding from main thread 1269s # Yielding from main thread 1269s # Yielding from main thread 1269s # Yielding from thread2 1269s # Yielding from main thread 1269s # Yielding from main thread 1269s # Yielding from main thread 1269s # Yielding from thread1 1269s # Yielding from thread2 1269s # Yielding from main thread 1269s # Stopping 1269s # Stopped 1269s ok 1 /closure/refcount 1269s # End of closure tests 1269s ok - glib/closure-refcount.test 1269s # Running test: glib/markup-parse.test 1269s TAP version 14 1269s # random seed: R02S042f3965c17b9166ec27d21eec35ce7c 1269s 1..71 1269s # Start of markup tests 1269s # Start of parse tests 1269s ok 1 /markup/parse/fail-20.gmarkup 1269s ok 2 /markup/parse/valid-13.gmarkup 1269s ok 3 /markup/parse/fail-54.gmarkup 1269s ok 4 /markup/parse/fail-29.gmarkup 1269s ok 5 /markup/parse/fail-32.gmarkup 1269s ok 6 /markup/parse/fail-37.gmarkup 1269s ok 7 /markup/parse/valid-5.gmarkup 1269s ok 8 /markup/parse/fail-39.gmarkup 1269s ok 9 /markup/parse/fail-25.gmarkup 1269s ok 10 /markup/parse/fail-33.gmarkup 1269s ok 11 /markup/parse/fail-15.gmarkup 1269s ok 12 /markup/parse/fail-24.gmarkup 1269s ok 13 /markup/parse/fail-23.gmarkup 1269s ok 14 /markup/parse/fail-48.gmarkup 1269s ok 15 /markup/parse/valid-10.gmarkup 1269s ok 16 /markup/parse/fail-8.gmarkup 1269s ok 17 /markup/parse/fail-31.gmarkup 1269s ok 18 /markup/parse/fail-34.gmarkup 1269s ok 19 /markup/parse/valid-17.gmarkup 1269s ok 20 /markup/parse/fail-6.gmarkup 1269s ok 21 /markup/parse/valid-15.gmarkup 1269s ok 22 /markup/parse/fail-35.gmarkup 1269s ok 23 /markup/parse/fail-5.gmarkup 1269s ok 24 /markup/parse/valid-8.gmarkup 1269s ok 25 /markup/parse/fail-7.gmarkup 1269s ok 26 /markup/parse/fail-12.gmarkup 1269s ok 27 /markup/parse/fail-13.gmarkup 1269s ok 28 /markup/parse/fail-43.gmarkup 1269s ok 29 /markup/parse/fail-4.gmarkup 1269s ok 30 /markup/parse/valid-1.gmarkup 1269s ok 31 /markup/parse/fail-42.gmarkup 1269s ok 32 /markup/parse/valid-6.gmarkup 1269s ok 33 /markup/parse/valid-3.gmarkup 1269s ok 34 /markup/parse/fail-22.gmarkup 1269s ok 35 /markup/parse/valid-2.gmarkup 1269s ok 36 /markup/parse/fail-30.gmarkup 1269s ok 37 /markup/parse/fail-40.gmarkup 1269s ok 38 /markup/parse/fail-14.gmarkup 1269s ok 39 /markup/parse/fail-10.gmarkup 1269s ok 40 /markup/parse/fail-27.gmarkup 1269s ok 41 /markup/parse/valid-14.gmarkup 1269s ok 42 /markup/parse/fail-16.gmarkup 1269s ok 43 /markup/parse/valid-7.gmarkup 1269s ok 44 /markup/parse/fail-44.gmarkup 1269s ok 45 /markup/parse/fail-45.gmarkup 1269s ok 46 /markup/parse/fail-49.gmarkup 1269s ok 47 /markup/parse/fail-26.gmarkup 1269s ok 48 /markup/parse/fail-41.gmarkup 1269s ok 49 /markup/parse/fail-38.gmarkup 1269s ok 50 /markup/parse/fail-17.gmarkup 1269s ok 51 /markup/parse/fail-19.gmarkup 1269s ok 52 /markup/parse/fail-53.gmarkup 1269s ok 53 /markup/parse/fail-1.gmarkup 1269s ok 54 /markup/parse/fail-9.gmarkup 1269s ok 55 /markup/parse/fail-50.gmarkup 1269s ok 56 /markup/parse/valid-11.gmarkup 1269s ok 57 /markup/parse/valid-16.gmarkup 1269s ok 58 /markup/parse/fail-11.gmarkup 1269s ok 59 /markup/parse/valid-4.gmarkup 1269s ok 60 /markup/parse/fail-3.gmarkup 1269s ok 61 /markup/parse/valid-12.gmarkup 1269s ok 62 /markup/parse/fail-46.gmarkup 1269s ok 63 /markup/parse/fail-28.gmarkup 1269s ok 64 /markup/parse/fail-52.gmarkup 1269s ok 65 /markup/parse/fail-21.gmarkup 1269s ok 66 /markup/parse/fail-18.gmarkup 1269s ok 67 /markup/parse/fail-36.gmarkup 1269s ok 68 /markup/parse/valid-9.gmarkup 1269s ok 69 /markup/parse/fail-51.gmarkup 1269s ok 70 /markup/parse/fail-47.gmarkup 1269s ok 71 /markup/parse/fail-2.gmarkup 1269s # End of parse tests 1269s # End of markup tests 1269s ok - glib/markup-parse.test 1269s # Running test: glib/data-output-stream.test 1269s TAP version 14 1269s # random seed: R02S005081f09d29b84b36adea829e46ac54 1269s 1..7 1269s # Start of data-output-stream tests 1269s ok 1 /data-output-stream/basic 1269s ok 2 /data-output-stream/write-lines-LF 1269s ok 3 /data-output-stream/write-lines-CR 1269s ok 4 /data-output-stream/write-lines-CR-LF 1269s ok 5 /data-output-stream/write-int 1269s ok 6 /data-output-stream/seek 1269s ok 7 /data-output-stream/truncate 1269s # End of data-output-stream tests 1269s ok - glib/data-output-stream.test 1269s # Running test: glib/application-command-line.test 1269s TAP version 14 1269s # random seed: R02S521c8167c91c2439862d1e289b352dfa 1269s 1..1 1269s # Start of application-command-line tests 1269s ok 1 /application-command-line/basic-properties 1269s # End of application-command-line tests 1269s ok - glib/application-command-line.test 1269s # Running test: glib/notify-init2.test 1269s TAP version 14 1269s # random seed: R02S72fc9652cfd257685bdd8d09079845fb 1269s 1..1 1269s # Start of properties tests 1269s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1269s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1269s ok 1 /properties/notify-in-init2 1269s # End of properties tests 1269s ok - glib/notify-init2.test 1269s # Running test: glib/cxx-98.test 1269s TAP version 14 1269s # random seed: R02Sb8b8cc7d28ef4c78297adb000c3a24ee 1269s 1..2 1269s # Start of gtask tests 1269s # 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. 1269s ok 1 /gtask/name 1269s # Start of name tests 1269s # 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. 1269s ok 2 /gtask/name/macro-wrapper 1269s # End of name tests 1269s # End of gtask tests 1269s ok - glib/cxx-98.test 1269s # Running test: glib/null-settings-backend.test 1269s TAP version 14 1269s # random seed: R02S7cb0f80537dde2401b0562805a2ee8c7 1269s 1..1 1269s # Start of null-settings-backend tests 1269s ok 1 /null-settings-backend/extension-point-registered 1269s # End of null-settings-backend tests 1269s ok - glib/null-settings-backend.test 1269s # Running test: glib/notify-init.test 1269s TAP version 14 1269s # random seed: R02S621d81d9a3929a3bdec54fe5930776d1 1269s 1..1 1269s # Start of properties tests 1269s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1269s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1269s ok 1 /properties/notify-in-init 1269s # End of properties tests 1269s ok - glib/notify-init.test 1269s # Running test: glib/spawn-multithreaded.test 1269s TAP version 14 1269s # random seed: R02S95e8aaa906137b8e9420df164c86c83a 1269s 1..4 1269s # Start of gthread tests 1270s # Child 6125 (ttl 1) exited, status 0 1271s # Child 6126 (ttl 2) exited, status 0 1271s ok 1 /gthread/spawn-childs 1271s # slow test /gthread/spawn-childs executed in 2.00 secs 1271s # Created pid: 6134 (ttl 2) 1271s # Created pid: 6135 (ttl 1) 1272s # Child 6135 (ttl 1) exited, status 0 1273s # Child 6134 (ttl 2) exited, status 0 1273s ok 2 /gthread/spawn-childs-threads 1273s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1273s ok 3 /gthread/spawn-sync 1273s ok 4 /gthread/spawn-async 1273s # End of gthread tests 1273s ok - glib/spawn-multithreaded.test 1273s # Running test: glib/gdbus-message.test 1273s TAP version 14 1273s # random seed: R02S3e8e329496962193e3f7a94837faaa5e 1273s 1..3 1273s # Start of gdbus tests 1273s # Start of message tests 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0A61Z2/gdbus/message/lock/.dirs/runtime 1273s ok 1 /gdbus/message/lock 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0A61Z2/gdbus/message/copy/.dirs/runtime 1273s ok 2 /gdbus/message/copy 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0A61Z2/gdbus/message/bytes-needed/.dirs/runtime 1273s # Vector: 0 1273s # Vector: 1 1273s # Vector: 2 1273s # Vector: 3 1273s # Vector: 4 1273s # Vector: 5 1273s ok 3 /gdbus/message/bytes-needed 1273s # End of message tests 1273s # End of gdbus tests 1273s ok - glib/gdbus-message.test 1273s # Running test: glib/actions.test 1273s TAP version 14 1273s # random seed: R02Sb541796a33ec22e5802381e41e0dc213 1273s 1..13 1273s # Start of actions tests 1273s ok 1 /actions/basic 1273s ok 2 /actions/name 1273s ok 3 /actions/simplegroup 1273s ok 4 /actions/stateful 1273s ok 5 /actions/default-activate 1273s ok 6 /actions/entries 1273s ok 7 /actions/parse-detailed 1273s ok 8 /actions/property 1273s ok 9 /actions/no-properties 1273s # Start of dbus tests 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s ok 10 /actions/dbus/export 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # Executing: glib/actions.test 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 ok 11 /actions/dbus/threaded 1274s # slow test /actions/dbus/threaded executed in 1.19 secs 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 ok 12 /actions/dbus/bug679509 1274s # Start of export tests 1274s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1274s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 ok 13 /actions/dbus/export/error-handling 1274s # End of export tests 1274s # End of dbus tests 1274s # End of actions tests 1274s ok - glib/actions.test 1274s # Running test: glib/references.test 1274s TAP version 14 1274s # random seed: R02S9ae5f733df49acf7f0ad5f3ab0e6ae98 1274s 1..1 1274s # Start of gobject tests 1274s ok 1 /gobject/references 1274s # End of gobject tests 1274s ok - glib/references.test 1274s # Running test: glib/gdbus-peer.test 1274s TAP version 14 1274s # random seed: R02Sa7e7cd8c596c37f86279b5bcb104b200 1274s 1..12 1274s # Start of gdbus tests 1274s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/home 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/cache 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/system-config2 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/config 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/system-data2 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/data 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/state 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/.dirs/runtime 1274s # Testing with unix:dir address 1274s # Testing with unix:tmpdir address 1274s # Testing with unix:path address 1274s ok 1 /gdbus/peer-to-peer 1274s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/home 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/cache 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/system-config2 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/config 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/system-data2 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/data 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/state 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/delayed-message-processing/.dirs/runtime 1274s # Testing with unix:dir address 1275s ok 2 /gdbus/delayed-message-processing 1275s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1275s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/home 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/cache 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/system-config2 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/config 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/system-data2 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/data 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/state 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/nonce-tcp/.dirs/runtime 1275s ok 3 /gdbus/nonce-tcp 1275s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/home 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/cache 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/system-config2 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/config 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/system-data2 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/data 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/state 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/tcp-anonymous/.dirs/runtime 1275s ok 4 /gdbus/tcp-anonymous 1275s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/home 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/cache 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/system-config2 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/config 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/system-data2 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/data 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/state 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/credentials/.dirs/runtime 1275s ok 5 /gdbus/credentials 1275s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/home 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/cache 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/config 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/data 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/state 1275s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/codegen-peer-to-peer/.dirs/runtime 1275s # Testing with unix:dir address 1275s # Machine ID: dbe568d2be554a86b40847fcb750b79c 1276s ok 6 /gdbus/codegen-peer-to-peer 1276s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1276s # Start of peer-to-peer tests 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/signals/.dirs/runtime 1276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1276s # Testing with unix:dir address 1276s ok 7 /gdbus/peer-to-peer/signals 1276s # Start of invalid tests 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1276s ok 8 /gdbus/peer-to-peer/invalid/server 1276s # Start of conn tests 1276s # Start of stream tests 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1276s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1276s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1276s # End of stream tests 1276s # Start of addr tests 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1276s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_3O0MZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1276s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1276s # End of addr tests 1276s # End of conn tests 1276s # End of invalid tests 1276s # End of peer-to-peer tests 1276s # End of gdbus tests 1276s ok - glib/gdbus-peer.test 1276s # Running test: glib/singleton.test 1276s TAP version 14 1276s # random seed: R02S419e1a5c3da98ce02ef380213c5c4232 1276s 1..2 1276s # Start of gobject tests 1276s # Start of singleton tests 1276s ok 1 /gobject/singleton/construction 1276s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1276s ok 2 /gobject/singleton/construct-property 1276s # End of singleton tests 1276s # End of gobject tests 1276s ok - glib/singleton.test 1276s # Running test: glib/mkenums.py.test 1276s TAP version 13 1276s ok 1 __main__.TestMkenums.test_available_in 1276s # tmpdir: /tmp/tmpkwlkw3qq 1276s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1276s # /tmp/tmpkwlkw3qq/tmp70ux9vvi.h: 1276s # typedef enum { 1276s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1276s # } GDBusServerFlags; 1276s # 1276s # /tmp/tmpkwlkw3qq/tmpra67ibt3.template: 1276s # /*** BEGIN file-header ***/ 1276s # file-header 1276s # /*** END file-header ***/ 1276s # 1276s # /*** BEGIN file-production ***/ 1276s # file-production 1276s # filename: @filename@ 1276s # basename: @basename@ 1276s # /*** END file-production ***/ 1276s # 1276s # /*** BEGIN enumeration-production ***/ 1276s # enumeration-production 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END enumeration-production ***/ 1276s # 1276s # /*** BEGIN value-header ***/ 1276s # value-header 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-header ***/ 1276s # 1276s # /*** BEGIN value-production ***/ 1276s # value-production 1276s # VALUENAME: @VALUENAME@ 1276s # valuenick: @valuenick@ 1276s # valuenum: @valuenum@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-production ***/ 1276s # 1276s # /*** BEGIN value-tail ***/ 1276s # value-tail 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-tail ***/ 1276s # 1276s # /*** BEGIN comment ***/ 1276s # comment 1276s # comment: @comment@ 1276s # /*** END comment ***/ 1276s # 1276s # /*** BEGIN file-tail ***/ 1276s # file-tail 1276s # /*** END file-tail ***/ 1276s # 1276s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkwlkw3qq/tmpra67ibt3.template', '/tmp/tmpkwlkw3qq/tmp70ux9vvi.h'] 1276s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1276s # Output: comment 1276s # 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. 1276s # 1276s # 1276s # file-header 1276s # file-production 1276s # filename: /tmp/tmpkwlkw3qq/tmp70ux9vvi.h 1276s # basename: tmp70ux9vvi.h 1276s # enumeration-production 1276s # EnumName: GDBusServerFlags 1276s # enum_name: g_dbus_server_flags 1276s # ENUMNAME: G_DBUS_SERVER_FLAGS 1276s # ENUMSHORT: DBUS_SERVER_FLAGS 1276s # ENUMPREFIX: G 1276s # enumsince: 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # value-header 1276s # EnumName: GDBusServerFlags 1276s # enum_name: g_dbus_server_flags 1276s # ENUMNAME: G_DBUS_SERVER_FLAGS 1276s # ENUMSHORT: DBUS_SERVER_FLAGS 1276s # ENUMPREFIX: G 1276s # enumsince: 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # value-production 1276s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1276s # valuenick: user 1276s # valuenum: 4 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # value-tail 1276s # EnumName: GDBusServerFlags 1276s # enum_name: g_dbus_server_flags 1276s # ENUMNAME: G_DBUS_SERVER_FLAGS 1276s # ENUMSHORT: DBUS_SERVER_FLAGS 1276s # ENUMPREFIX: G 1276s # enumsince: 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # file-tail 1276s # 1276s # comment 1276s # comment: Generated data ends here 1276s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1276s # tmpdir: /tmp/tmp62pxpq3w 1276s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1276s # /tmp/tmp62pxpq3w/tmpfwpkgc86.h: 1276s # typedef enum { 1276s # ENUM_VALUE_WITH_COMMA = ',', 1276s # } TestCommaEnum; 1276s # 1276s # /tmp/tmp62pxpq3w/tmpjtx2j1vk.template: 1276s # /*** BEGIN file-header ***/ 1276s # file-header 1276s # /*** END file-header ***/ 1276s # 1276s # /*** BEGIN file-production ***/ 1276s # file-production 1276s # filename: @filename@ 1276s # basename: @basename@ 1276s # /*** END file-production ***/ 1276s # 1276s # /*** BEGIN enumeration-production ***/ 1276s # enumeration-production 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END enumeration-production ***/ 1276s # 1276s # /*** BEGIN value-header ***/ 1276s # value-header 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-header ***/ 1276s # 1276s # /*** BEGIN value-production ***/ 1276s # value-production 1276s # VALUENAME: @VALUENAME@ 1276s # valuenick: @valuenick@ 1276s # valuenum: @valuenum@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-production ***/ 1276s # 1276s # /*** BEGIN value-tail ***/ 1276s # value-tail 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-tail ***/ 1276s # 1276s # /*** BEGIN comment ***/ 1276s # comment 1276s # comment: @comment@ 1276s # /*** END comment ***/ 1276s # 1276s # /*** BEGIN file-tail ***/ 1276s # file-tail 1276s # /*** END file-tail ***/ 1276s # 1276s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp62pxpq3w/tmpjtx2j1vk.template', '/tmp/tmp62pxpq3w/tmpfwpkgc86.h'] 1276s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1276s # Output: comment 1276s # 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. 1276s # 1276s # 1276s # file-header 1276s # file-production 1276s # filename: /tmp/tmp62pxpq3w/tmpfwpkgc86.h 1276s # basename: tmpfwpkgc86.h 1276s # enumeration-production 1276s # EnumName: TestCommaEnum 1276s # enum_name: test_comma_enum 1276s # ENUMNAME: TEST_COMMA_ENUM 1276s # ENUMSHORT: COMMA_ENUM 1276s # ENUMPREFIX: TEST 1276s # enumsince: 1276s # type: enum 1276s # Type: Enum 1276s # TYPE: ENUM 1276s # value-header 1276s # EnumName: TestCommaEnum 1276s # enum_name: test_comma_enum 1276s # ENUMNAME: TEST_COMMA_ENUM 1276s # ENUMSHORT: COMMA_ENUM 1276s # ENUMPREFIX: TEST 1276s # enumsince: 1276s # type: enum 1276s # Type: Enum 1276s # TYPE: ENUM 1276s # value-production 1276s # VALUENAME: ENUM_VALUE_WITH_COMMA 1276s # valuenick: comma 1276s # valuenum: 44 1276s # type: enum 1276s # Type: Enum 1276s # TYPE: ENUM 1276s # value-tail 1276s # EnumName: TestCommaEnum 1276s # enum_name: test_comma_enum 1276s # ENUMNAME: TEST_COMMA_ENUM 1276s # ENUMSHORT: COMMA_ENUM 1276s # ENUMPREFIX: TEST 1276s # enumsince: 1276s # type: enum 1276s # Type: Enum 1276s # TYPE: ENUM 1276s # file-tail 1276s # 1276s # comment 1276s # comment: Generated data ends here 1276s ok 3 __main__.TestMkenums.test_deprecated_in 1276s # tmpdir: /tmp/tmptt6m2uf7 1276s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1276s # /tmp/tmptt6m2uf7/tmppazujeqe.h: 1276s # typedef enum { 1276s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1276s # } GDBusServerFlags; 1276s # 1276s # /tmp/tmptt6m2uf7/tmpiwye2qtw.template: 1276s # /*** BEGIN file-header ***/ 1276s # file-header 1276s # /*** END file-header ***/ 1276s # 1276s # /*** BEGIN file-production ***/ 1276s # file-production 1276s # filename: @filename@ 1276s # basename: @basename@ 1276s # /*** END file-production ***/ 1276s # 1276s # /*** BEGIN enumeration-production ***/ 1276s # enumeration-production 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END enumeration-production ***/ 1276s # 1276s # /*** BEGIN value-header ***/ 1276s # value-header 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-header ***/ 1276s # 1276s # /*** BEGIN value-production ***/ 1276s # value-production 1276s # VALUENAME: @VALUENAME@ 1276s # valuenick: @valuenick@ 1276s # valuenum: @valuenum@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-production ***/ 1276s # 1276s # /*** BEGIN value-tail ***/ 1276s # value-tail 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-tail ***/ 1276s # 1276s # /*** BEGIN comment ***/ 1276s # comment 1276s # comment: @comment@ 1276s # /*** END comment ***/ 1276s # 1276s # /*** BEGIN file-tail ***/ 1276s # file-tail 1276s # /*** END file-tail ***/ 1276s # 1276s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptt6m2uf7/tmpiwye2qtw.template', '/tmp/tmptt6m2uf7/tmppazujeqe.h'] 1276s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1276s # Output: comment 1276s # 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. 1276s # 1276s # 1276s # file-header 1276s # file-production 1276s # filename: /tmp/tmptt6m2uf7/tmppazujeqe.h 1276s # basename: tmppazujeqe.h 1276s # enumeration-production 1276s # EnumName: GDBusServerFlags 1276s # enum_name: g_dbus_server_flags 1276s # ENUMNAME: G_DBUS_SERVER_FLAGS 1276s # ENUMSHORT: DBUS_SERVER_FLAGS 1276s # ENUMPREFIX: G 1276s # enumsince: 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # value-header 1276s # EnumName: GDBusServerFlags 1276s # enum_name: g_dbus_server_flags 1276s # ENUMNAME: G_DBUS_SERVER_FLAGS 1276s # ENUMSHORT: DBUS_SERVER_FLAGS 1276s # ENUMPREFIX: G 1276s # enumsince: 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # value-production 1276s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1276s # valuenick: user 1276s # valuenum: 4 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # value-tail 1276s # EnumName: GDBusServerFlags 1276s # enum_name: g_dbus_server_flags 1276s # ENUMNAME: G_DBUS_SERVER_FLAGS 1276s # ENUMSHORT: DBUS_SERVER_FLAGS 1276s # ENUMPREFIX: G 1276s # enumsince: 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # file-tail 1276s # 1276s # comment 1276s # comment: Generated data ends here 1276s ok 4 __main__.TestMkenums.test_deprecated_in_for 1276s # tmpdir: /tmp/tmpjrgj_3us 1276s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1276s # /tmp/tmpjrgj_3us/tmp9_gngc9v.h: 1276s # typedef enum { 1276s # 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) 1276s # } GDBusServerFlags; 1276s # 1276s # /tmp/tmpjrgj_3us/tmpam1ehhfe.template: 1276s # /*** BEGIN file-header ***/ 1276s # file-header 1276s # /*** END file-header ***/ 1276s # 1276s # /*** BEGIN file-production ***/ 1276s # file-production 1276s # filename: @filename@ 1276s # basename: @basename@ 1276s # /*** END file-production ***/ 1276s # 1276s # /*** BEGIN enumeration-production ***/ 1276s # enumeration-production 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END enumeration-production ***/ 1276s # 1276s # /*** BEGIN value-header ***/ 1276s # value-header 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-header ***/ 1276s # 1276s # /*** BEGIN value-production ***/ 1276s # value-production 1276s # VALUENAME: @VALUENAME@ 1276s # valuenick: @valuenick@ 1276s # valuenum: @valuenum@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-production ***/ 1276s # 1276s # /*** BEGIN value-tail ***/ 1276s # value-tail 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-tail ***/ 1276s # 1276s # /*** BEGIN comment ***/ 1276s # comment 1276s # comment: @comment@ 1276s # /*** END comment ***/ 1276s # 1276s # /*** BEGIN file-tail ***/ 1276s # file-tail 1276s # /*** END file-tail ***/ 1276s # 1276s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjrgj_3us/tmpam1ehhfe.template', '/tmp/tmpjrgj_3us/tmp9_gngc9v.h'] 1276s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1276s # Output: comment 1276s # 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. 1276s # 1276s # 1276s # file-header 1276s # file-production 1276s # filename: /tmp/tmpjrgj_3us/tmp9_gngc9v.h 1276s # basename: tmp9_gngc9v.h 1276s # enumeration-production 1276s # EnumName: GDBusServerFlags 1276s # enum_name: g_dbus_server_flags 1276s # ENUMNAME: G_DBUS_SERVER_FLAGS 1276s # ENUMSHORT: DBUS_SERVER_FLAGS 1276s # ENUMPREFIX: G 1276s # enumsince: 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # value-header 1276s # EnumName: GDBusServerFlags 1276s # enum_name: g_dbus_server_flags 1276s # ENUMNAME: G_DBUS_SERVER_FLAGS 1276s # ENUMSHORT: DBUS_SERVER_FLAGS 1276s # ENUMPREFIX: G 1276s # enumsince: 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # value-production 1276s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1276s # valuenick: user 1276s # valuenum: 4 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # value-tail 1276s # EnumName: GDBusServerFlags 1276s # enum_name: g_dbus_server_flags 1276s # ENUMNAME: G_DBUS_SERVER_FLAGS 1276s # ENUMSHORT: DBUS_SERVER_FLAGS 1276s # ENUMPREFIX: G 1276s # enumsince: 1276s # type: flags 1276s # Type: Flags 1276s # TYPE: FLAGS 1276s # file-tail 1276s # 1276s # comment 1276s # comment: Generated data ends here 1276s ok 5 __main__.TestMkenums.test_empty_header 1276s # tmpdir: /tmp/tmpypvm_r70 1276s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1276s # /tmp/tmpypvm_r70/tmpug01cdoh.h: 1276s # /tmp/tmpypvm_r70/tmp2r2nvk87.template: 1276s # /*** BEGIN file-header ***/ 1276s # file-header 1276s # /*** END file-header ***/ 1276s # 1276s # /*** BEGIN file-production ***/ 1276s # file-production 1276s # filename: @filename@ 1276s # basename: @basename@ 1276s # /*** END file-production ***/ 1276s # 1276s # /*** BEGIN enumeration-production ***/ 1276s # enumeration-production 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END enumeration-production ***/ 1276s # 1276s # /*** BEGIN value-header ***/ 1276s # value-header 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-header ***/ 1276s # 1276s # /*** BEGIN value-production ***/ 1276s # value-production 1276s # VALUENAME: @VALUENAME@ 1276s # valuenick: @valuenick@ 1276s # valuenum: @valuenum@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-production ***/ 1276s # 1276s # /*** BEGIN value-tail ***/ 1276s # value-tail 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-tail ***/ 1276s # 1276s # /*** BEGIN comment ***/ 1276s # comment 1276s # comment: @comment@ 1276s # /*** END comment ***/ 1276s # 1276s # /*** BEGIN file-tail ***/ 1276s # file-tail 1276s # /*** END file-tail ***/ 1276s # 1276s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpypvm_r70/tmp2r2nvk87.template', '/tmp/tmpypvm_r70/tmpug01cdoh.h'] 1276s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1276s # Output: comment 1276s # 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. 1276s # 1276s # 1276s # file-header 1276s # file-tail 1276s # 1276s # comment 1276s # comment: Generated data ends here 1276s ok 6 __main__.TestMkenums.test_empty_template 1276s # tmpdir: /tmp/tmpq39thdwq 1276s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1276s # /tmp/tmpq39thdwq/tmpvi1at_cj.template: 1276s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq39thdwq/tmpvi1at_cj.template'] 1276s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1276s # 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. */ 1276s # 1276s # 1276s # /* Generated data ends here */ 1276s ok 7 __main__.TestMkenums.test_enum_name 1276s # tmpdir: /tmp/tmpexp7lopy 1276s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1276s # /tmp/tmpexp7lopy/tmp3ccg9jpo.h: 1276s # typedef enum _SomeEnumIdentifier { 1276s # ENUM_VALUE 1276s # } SomeEnumIdentifier; 1276s # 1276s # /tmp/tmpexp7lopy/tmpbi2b_i2z.template: 1276s # /*** BEGIN file-header ***/ 1276s # file-header 1276s # /*** END file-header ***/ 1276s # 1276s # /*** BEGIN file-production ***/ 1276s # file-production 1276s # filename: @filename@ 1276s # basename: @basename@ 1276s # /*** END file-production ***/ 1276s # 1276s # /*** BEGIN enumeration-production ***/ 1276s # enumeration-production 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END enumeration-production ***/ 1276s # 1276s # /*** BEGIN value-header ***/ 1276s # value-header 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-header ***/ 1276s # 1276s # /*** BEGIN value-production ***/ 1276s # value-production 1276s # VALUENAME: @VALUENAME@ 1276s # valuenick: @valuenick@ 1276s # valuenum: @valuenum@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-production ***/ 1276s # 1276s # /*** BEGIN value-tail ***/ 1276s # value-tail 1276s # EnumName: @EnumName@ 1276s # enum_name: @enum_name@ 1276s # ENUMNAME: @ENUMNAME@ 1276s # ENUMSHORT: @ENUMSHORT@ 1276s # ENUMPREFIX: @ENUMPREFIX@ 1276s # enumsince: @enumsince@ 1276s # type: @type@ 1276s # Type: @Type@ 1276s # TYPE: @TYPE@ 1276s # /*** END value-tail ***/ 1276s # 1276s # /*** BEGIN comment ***/ 1276s # comment 1276s # comment: @comment@ 1276s # /*** END comment ***/ 1276s # 1276s # /*** BEGIN file-tail ***/ 1276s # file-tail 1276s # /*** END file-tail ***/ 1276s # 1276s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpexp7lopy/tmpbi2b_i2z.template', '/tmp/tmpexp7lopy/tmp3ccg9jpo.h'] 1276s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1276s # Output: comment 1276s # 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. 1276s # 1276s # 1276s # file-header 1276s # file-production 1276s # filename: /tmp/tmpexp7lopy/tmp3ccg9jpo.h 1276s # basename: tmp3ccg9jpo.h 1276s # enumeration-production 1276s # EnumName: SomeEnumIdentifier 1276s # enum_name: some_enum_identifier 1276s # ENUMNAME: SOME_ENUM_IDENTIFIER 1276s # ENUMSHORT: ENUM_IDENTIFIER 1276s # ENUMPREFIX: SOME 1276s # enumsince: 1276s # type: enum 1276s # Type: Enum 1276s # TYPE: ENUM 1276s # value-header 1276s # EnumName: SomeEnumIdentifier 1276s # enum_name: some_enum_identifier 1276s # ENUMNAME: SOME_ENUM_IDENTIFIER 1276s # ENUMSHORT: ENUM_IDENTIFIER 1276s # ENUMPREFIX: SOME 1276s # enumsince: 1276s # type: enum 1276s # Type: Enum 1276s # TYPE: ENUM 1276s # value-production 1276s # VALUENAME: ENUM_VALUE 1276s # valuenick: value 1276s # valuenum: 0 1276s # type: enum 1276s # Type: Enum 1276s # TYPE: ENUM 1276s # value-tail 1276s # EnumName: SomeEnumIdentifier 1276s # enum_name: some_enum_identifier 1276s # ENUMNAME: SOME_ENUM_IDENTIFIER 1276s # ENUMSHORT: ENUM_IDENTIFIER 1276s # ENUMPREFIX: SOME 1276s # enumsince: 1276s # type: enum 1276s # Type: Enum 1276s # TYPE: ENUM 1276s # file-tail 1276s # 1276s # comment 1276s # comment: Generated data ends here 1277s ok 8 __main__.TestMkenums.test_enum_private_public 1277s # tmpdir: /tmp/tmp2osi5p9g 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmp2osi5p9g/tmpuskda7io.h: 1277s # typedef enum { 1277s # ENUM_VALUE_PUBLIC1, 1277s # /*< private >*/ 1277s # ENUM_VALUE_PRIVATE, 1277s # } SomeEnumA 1277s # 1277s # /tmp/tmp2osi5p9g/tmp474gs6i0.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2osi5p9g/tmp474gs6i0.template', '/tmp/tmp2osi5p9g/tmpuskda7io.h'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmp2osi5p9g/tmpuskda7io.h 1277s # basename: tmpuskda7io.h 1277s # enumeration-production 1277s # EnumName: SomeEnumA 1277s # enum_name: some_enum_a 1277s # ENUMNAME: SOME_ENUM_A 1277s # ENUMSHORT: ENUM_A 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-header 1277s # EnumName: SomeEnumA 1277s # enum_name: some_enum_a 1277s # ENUMNAME: SOME_ENUM_A 1277s # ENUMSHORT: ENUM_A 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-production 1277s # VALUENAME: ENUM_VALUE_PUBLIC1 1277s # valuenick: public1 1277s # valuenum: 0 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-tail 1277s # EnumName: SomeEnumA 1277s # enum_name: some_enum_a 1277s # ENUMNAME: SOME_ENUM_A 1277s # ENUMSHORT: ENUM_A 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s # /tmp/tmp2osi5p9g/tmpg1xifo_h.h: 1277s # typedef enum { 1277s # /*< private >*/ 1277s # ENUM_VALUE_PRIVATE, 1277s # /*< public >*/ 1277s # ENUM_VALUE_PUBLIC2, 1277s # } SomeEnumB; 1277s # 1277s # /tmp/tmp2osi5p9g/tmp674b_340.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2osi5p9g/tmp674b_340.template', '/tmp/tmp2osi5p9g/tmpg1xifo_h.h'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmp2osi5p9g/tmpg1xifo_h.h 1277s # basename: tmpg1xifo_h.h 1277s # enumeration-production 1277s # EnumName: SomeEnumB 1277s # enum_name: some_enum_b 1277s # ENUMNAME: SOME_ENUM_B 1277s # ENUMSHORT: ENUM_B 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-header 1277s # EnumName: SomeEnumB 1277s # enum_name: some_enum_b 1277s # ENUMNAME: SOME_ENUM_B 1277s # ENUMSHORT: ENUM_B 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-production 1277s # VALUENAME: ENUM_VALUE_PUBLIC2 1277s # valuenick: public2 1277s # valuenum: 1 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-tail 1277s # EnumName: SomeEnumB 1277s # enum_name: some_enum_b 1277s # ENUMNAME: SOME_ENUM_B 1277s # ENUMSHORT: ENUM_B 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1277s # tmpdir: /tmp/tmp1zb__cpg 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmp1zb__cpg/tmpejjwxdn1.h: 1277s # typedef enum { 1277s # /*< private >*/ 1277s # ENUM_VALUE_PRIVATE = 5, 1277s # /*< public >*/ 1277s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1277s # } TestSymbolicEnum; 1277s # 1277s # /tmp/tmp1zb__cpg/tmpeiwvwa1_.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1zb__cpg/tmpeiwvwa1_.template', '/tmp/tmp1zb__cpg/tmpejjwxdn1.h'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmp1zb__cpg/tmpejjwxdn1.h 1277s # basename: tmpejjwxdn1.h 1277s # enumeration-production 1277s # EnumName: TestSymbolicEnum 1277s # enum_name: test_symbolic_enum 1277s # ENUMNAME: TEST_SYMBOLIC_ENUM 1277s # ENUMSHORT: SYMBOLIC_ENUM 1277s # ENUMPREFIX: TEST 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-header 1277s # EnumName: TestSymbolicEnum 1277s # enum_name: test_symbolic_enum 1277s # ENUMNAME: TEST_SYMBOLIC_ENUM 1277s # ENUMSHORT: SYMBOLIC_ENUM 1277s # ENUMPREFIX: TEST 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-production 1277s # VALUENAME: ENUM_VALUE_PUBLIC 1277s # valuenick: public 1277s # valuenum: 7 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-tail 1277s # EnumName: TestSymbolicEnum 1277s # enum_name: test_symbolic_enum 1277s # ENUMNAME: TEST_SYMBOLIC_ENUM 1277s # ENUMSHORT: SYMBOLIC_ENUM 1277s # ENUMPREFIX: TEST 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1277s # tmpdir: /tmp/tmpg4u5u_9z 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmpg4u5u_9z/tmpesfb6xvc.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-tail ***/ 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg4u5u_9z/tmpesfb6xvc.template'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # file-tail 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 11 __main__.TestMkenums.test_help 1277s # tmpdir: /tmp/tmp9jgdx2ra 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # Running: ['/usr/bin/glib-mkenums', '--help'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1277s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1277s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1277s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1277s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1277s # [--output OUTPUT] [--version] 1277s # [args ...] 1277s # 1277s # positional arguments: 1277s # args One or more input files, or a single argument 1277s # @rspfile_path pointing to a file that contains the 1277s # actual arguments 1277s # 1277s # options: 1277s # -h, --help show this help message and exit 1277s # --identifier-prefix IDPREFIX 1277s # Identifier prefix 1277s # --symbol-prefix SYMPREFIX 1277s # Symbol prefix 1277s # --fhead FHEAD Output file header 1277s # --ftail FTAIL Output file footer 1277s # --fprod FPROD Put out TEXT every time a new input file is being 1277s # processed. 1277s # --eprod EPROD Per enum text, produced prior to value iterations 1277s # --vhead VHEAD Value header, produced before iterating over enum 1277s # values 1277s # --vprod VPROD Value text, produced for each enum value. 1277s # --vtail VTAIL Value tail, produced after iterating over enum values 1277s # --comments COMMENT_TMPL 1277s # Comment structure 1277s # --template TEMPLATE Template file 1277s # --output OUTPUT 1277s # --version, -v Print version information 1277s # 1277s # Production text substitutions: 1277s # @EnumName@ PrefixTheXEnum 1277s # @enum_name@ prefix_the_xenum 1277s # @ENUMNAME@ PREFIX_THE_XENUM 1277s # @ENUMSHORT@ THE_XENUM 1277s # @ENUMPREFIX@ PREFIX 1277s # @enumsince@ the user-provided since value given 1277s # @VALUENAME@ PREFIX_THE_XVALUE 1277s # @valuenick@ the-xvalue 1277s # @valuenum@ the integer value (limited support, Since: 2.26) 1277s # @type@ either enum or flags 1277s # @Type@ either Enum or Flags 1277s # @TYPE@ either ENUM or FLAGS 1277s # @filename@ name of current input file 1277s # @basename@ base name of the current input file (Since: 2.22) 1277s ok 12 __main__.TestMkenums.test_no_args 1277s # tmpdir: /tmp/tmpox_ixkbc 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # Running: ['/usr/bin/glib-mkenums'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # 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. */ 1277s # 1277s # 1277s # /* Generated data ends here */ 1277s ok 13 __main__.TestMkenums.test_no_headers 1277s # tmpdir: /tmp/tmpb3sp0txa 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmpb3sp0txa/tmps04jrjwz.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb3sp0txa/tmps04jrjwz.template'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 14 __main__.TestMkenums.test_no_nick 1277s # tmpdir: /tmp/tmpv0ri0_1k 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmpv0ri0_1k/tmpi54yfzxd.h: 1277s # typedef enum { 1277s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1277s # } GeglSamplerType; 1277s # 1277s # /tmp/tmpv0ri0_1k/tmp9o50t9hh.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv0ri0_1k/tmp9o50t9hh.template', '/tmp/tmpv0ri0_1k/tmpi54yfzxd.h'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmpv0ri0_1k/tmpi54yfzxd.h 1277s # basename: tmpi54yfzxd.h 1277s # enumeration-production 1277s # EnumName: GeglSamplerType 1277s # enum_name: gegl_sampler_type 1277s # ENUMNAME: GEGL_SAMPLER_TYPE 1277s # ENUMSHORT: SAMPLER_TYPE 1277s # ENUMPREFIX: GEGL 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-header 1277s # EnumName: GeglSamplerType 1277s # enum_name: gegl_sampler_type 1277s # ENUMNAME: GEGL_SAMPLER_TYPE 1277s # ENUMSHORT: SAMPLER_TYPE 1277s # ENUMPREFIX: GEGL 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-production 1277s # VALUENAME: GEGL_SAMPLER_NEAREST 1277s # valuenick: nearest 1277s # valuenum: 0 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-tail 1277s # EnumName: GeglSamplerType 1277s # enum_name: gegl_sampler_type 1277s # ENUMNAME: GEGL_SAMPLER_TYPE 1277s # ENUMSHORT: SAMPLER_TYPE 1277s # ENUMPREFIX: GEGL 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1277s # tmpdir: /tmp/tmpa7tadrx9 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmpa7tadrx9/tmp5afyqaiz.h: 1277s # /* Copyright © La Peña */ 1277s # typedef enum { 1277s # ENUM_VALUE 1277s # } SomeEnumIdentifier; 1277s # 1277s # /tmp/tmpa7tadrx9/tmpjx2nbr9k.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpa7tadrx9/tmpjx2nbr9k.template', '/tmp/tmpa7tadrx9/tmp5afyqaiz.h'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmpa7tadrx9/tmp5afyqaiz.h 1277s # basename: tmp5afyqaiz.h 1277s # enumeration-production 1277s # EnumName: SomeEnumIdentifier 1277s # enum_name: some_enum_identifier 1277s # ENUMNAME: SOME_ENUM_IDENTIFIER 1277s # ENUMSHORT: ENUM_IDENTIFIER 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-header 1277s # EnumName: SomeEnumIdentifier 1277s # enum_name: some_enum_identifier 1277s # ENUMNAME: SOME_ENUM_IDENTIFIER 1277s # ENUMSHORT: ENUM_IDENTIFIER 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-production 1277s # VALUENAME: ENUM_VALUE 1277s # valuenick: value 1277s # valuenum: 0 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-tail 1277s # EnumName: SomeEnumIdentifier 1277s # enum_name: some_enum_identifier 1277s # ENUMNAME: SOME_ENUM_IDENTIFIER 1277s # ENUMSHORT: ENUM_IDENTIFIER 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 16 __main__.TestMkenums.test_reproducible 1277s # tmpdir: /tmp/tmppjqadybs 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmppjqadybs/tmpt63pjd3_.template: template 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppjqadybs/tmpt63pjd3_.template', '/tmp/tmppjqadybs/tmp5s2qxkip1.h', '/tmp/tmppjqadybs/tmpvfa3cgbx2.h'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # 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. */ 1277s # 1277s # 1277s # /* Generated data ends here */ 1277s # /tmp/tmppjqadybs/tmp0zi1zkuj.template: template 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppjqadybs/tmp0zi1zkuj.template', '/tmp/tmppjqadybs/tmpvfa3cgbx2.h', '/tmp/tmppjqadybs/tmp5s2qxkip1.h'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # 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. */ 1277s # 1277s # 1277s # /* Generated data ends here */ 1277s ok 17 __main__.TestMkenums.test_since 1277s # tmpdir: /tmp/tmpitf27clq 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmpitf27clq/tmpr1tiw9sh.h: 1277s # typedef enum { /*< since=1.0 >*/ 1277s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1277s # } QmiWmsMessageProtocol; 1277s # 1277s # /tmp/tmpitf27clq/tmpeezy32oo.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpitf27clq/tmpeezy32oo.template', '/tmp/tmpitf27clq/tmpr1tiw9sh.h'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmpitf27clq/tmpr1tiw9sh.h 1277s # basename: tmpr1tiw9sh.h 1277s # enumeration-production 1277s # EnumName: QmiWmsMessageProtocol 1277s # enum_name: qmi_wms_message_protocol 1277s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1277s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1277s # ENUMPREFIX: QMI 1277s # enumsince: 1.0 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-header 1277s # EnumName: QmiWmsMessageProtocol 1277s # enum_name: qmi_wms_message_protocol 1277s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1277s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1277s # ENUMPREFIX: QMI 1277s # enumsince: 1.0 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-production 1277s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1277s # valuenick: cdma 1277s # valuenum: 0 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-tail 1277s # EnumName: QmiWmsMessageProtocol 1277s # enum_name: qmi_wms_message_protocol 1277s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1277s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1277s # ENUMPREFIX: QMI 1277s # enumsince: 1.0 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 18 __main__.TestMkenums.test_with_double_quotes 1277s # tmpdir: /tmp/tmp_2be3u3t 1277s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmp_2be3u3t/tmpzqqz_ju2.h: 1277s # typedef enum { 1277s # FOO_VALUE /*< nick="eek, a comma" >*/ 1277s # } Foo; 1277s # 1277s # /tmp/tmp_2be3u3t/tmpljrylxea.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_2be3u3t/tmpljrylxea.template', '/tmp/tmp_2be3u3t/tmpzqqz_ju2.h'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmp_2be3u3t/tmpzqqz_ju2.h 1277s # basename: tmpzqqz_ju2.h 1277s # enumeration-production 1277s # EnumName: Foo 1277s # enum_name: foo_ 1277s # ENUMNAME: FOO_ 1277s # ENUMSHORT: 1277s # ENUMPREFIX: FOO 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-header 1277s # EnumName: Foo 1277s # enum_name: foo_ 1277s # ENUMNAME: FOO_ 1277s # ENUMSHORT: 1277s # ENUMPREFIX: FOO 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-production 1277s # VALUENAME: FOO_VALUE 1277s # valuenick: eek, a comma 1277s # valuenum: 0 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-tail 1277s # EnumName: Foo 1277s # enum_name: foo_ 1277s # ENUMNAME: FOO_ 1277s # ENUMSHORT: 1277s # ENUMPREFIX: FOO 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 19 __main__.TestRspMkenums.test_available_in 1277s # tmpdir: /tmp/tmp_or4r7k6 1277s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmp_or4r7k6/tmps64_45qn.h: 1277s # typedef enum { 1277s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1277s # } GDBusServerFlags; 1277s # 1277s # /tmp/tmp_or4r7k6/tmpqqj3jtey.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Response file contains: --template /tmp/tmp_or4r7k6/tmpqqj3jtey.template /tmp/tmp_or4r7k6/tmps64_45qn.h 1277s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_or4r7k6/tmpj1ld6x6k'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmp_or4r7k6/tmps64_45qn.h 1277s # basename: tmps64_45qn.h 1277s # enumeration-production 1277s # EnumName: GDBusServerFlags 1277s # enum_name: g_dbus_server_flags 1277s # ENUMNAME: G_DBUS_SERVER_FLAGS 1277s # ENUMSHORT: DBUS_SERVER_FLAGS 1277s # ENUMPREFIX: G 1277s # enumsince: 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # value-header 1277s # EnumName: GDBusServerFlags 1277s # enum_name: g_dbus_server_flags 1277s # ENUMNAME: G_DBUS_SERVER_FLAGS 1277s # ENUMSHORT: DBUS_SERVER_FLAGS 1277s # ENUMPREFIX: G 1277s # enumsince: 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # value-production 1277s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1277s # valuenick: user 1277s # valuenum: 4 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # value-tail 1277s # EnumName: GDBusServerFlags 1277s # enum_name: g_dbus_server_flags 1277s # ENUMNAME: G_DBUS_SERVER_FLAGS 1277s # ENUMSHORT: DBUS_SERVER_FLAGS 1277s # ENUMPREFIX: G 1277s # enumsince: 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1277s # tmpdir: /tmp/tmpwiz81wuz 1277s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmpwiz81wuz/tmpkkfcf0y9.h: 1277s # typedef enum { 1277s # ENUM_VALUE_WITH_COMMA = ',', 1277s # } TestCommaEnum; 1277s # 1277s # /tmp/tmpwiz81wuz/tmpgx23yqjo.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Response file contains: --template /tmp/tmpwiz81wuz/tmpgx23yqjo.template /tmp/tmpwiz81wuz/tmpkkfcf0y9.h 1277s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwiz81wuz/tmp01t27946'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmpwiz81wuz/tmpkkfcf0y9.h 1277s # basename: tmpkkfcf0y9.h 1277s # enumeration-production 1277s # EnumName: TestCommaEnum 1277s # enum_name: test_comma_enum 1277s # ENUMNAME: TEST_COMMA_ENUM 1277s # ENUMSHORT: COMMA_ENUM 1277s # ENUMPREFIX: TEST 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-header 1277s # EnumName: TestCommaEnum 1277s # enum_name: test_comma_enum 1277s # ENUMNAME: TEST_COMMA_ENUM 1277s # ENUMSHORT: COMMA_ENUM 1277s # ENUMPREFIX: TEST 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-production 1277s # VALUENAME: ENUM_VALUE_WITH_COMMA 1277s # valuenick: comma 1277s # valuenum: 44 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-tail 1277s # EnumName: TestCommaEnum 1277s # enum_name: test_comma_enum 1277s # ENUMNAME: TEST_COMMA_ENUM 1277s # ENUMSHORT: COMMA_ENUM 1277s # ENUMPREFIX: TEST 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 21 __main__.TestRspMkenums.test_deprecated_in 1277s # tmpdir: /tmp/tmp0oreevh_ 1277s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmp0oreevh_/tmpeltr00jy.h: 1277s # typedef enum { 1277s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1277s # } GDBusServerFlags; 1277s # 1277s # /tmp/tmp0oreevh_/tmpr0ad5_07.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Response file contains: --template /tmp/tmp0oreevh_/tmpr0ad5_07.template /tmp/tmp0oreevh_/tmpeltr00jy.h 1277s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0oreevh_/tmp36kmy2oe'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmp0oreevh_/tmpeltr00jy.h 1277s # basename: tmpeltr00jy.h 1277s # enumeration-production 1277s # EnumName: GDBusServerFlags 1277s # enum_name: g_dbus_server_flags 1277s # ENUMNAME: G_DBUS_SERVER_FLAGS 1277s # ENUMSHORT: DBUS_SERVER_FLAGS 1277s # ENUMPREFIX: G 1277s # enumsince: 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # value-header 1277s # EnumName: GDBusServerFlags 1277s # enum_name: g_dbus_server_flags 1277s # ENUMNAME: G_DBUS_SERVER_FLAGS 1277s # ENUMSHORT: DBUS_SERVER_FLAGS 1277s # ENUMPREFIX: G 1277s # enumsince: 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # value-production 1277s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1277s # valuenick: user 1277s # valuenum: 4 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # value-tail 1277s # EnumName: GDBusServerFlags 1277s # enum_name: g_dbus_server_flags 1277s # ENUMNAME: G_DBUS_SERVER_FLAGS 1277s # ENUMSHORT: DBUS_SERVER_FLAGS 1277s # ENUMPREFIX: G 1277s # enumsince: 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1277s # tmpdir: /tmp/tmphvj27laj 1277s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmphvj27laj/tmpzi9qo9vn.h: 1277s # typedef enum { 1277s # 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) 1277s # } GDBusServerFlags; 1277s # 1277s # /tmp/tmphvj27laj/tmpgc6s9rai.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Response file contains: --template /tmp/tmphvj27laj/tmpgc6s9rai.template /tmp/tmphvj27laj/tmpzi9qo9vn.h 1277s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphvj27laj/tmpq5ccktj3'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmphvj27laj/tmpzi9qo9vn.h 1277s # basename: tmpzi9qo9vn.h 1277s # enumeration-production 1277s # EnumName: GDBusServerFlags 1277s # enum_name: g_dbus_server_flags 1277s # ENUMNAME: G_DBUS_SERVER_FLAGS 1277s # ENUMSHORT: DBUS_SERVER_FLAGS 1277s # ENUMPREFIX: G 1277s # enumsince: 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # value-header 1277s # EnumName: GDBusServerFlags 1277s # enum_name: g_dbus_server_flags 1277s # ENUMNAME: G_DBUS_SERVER_FLAGS 1277s # ENUMSHORT: DBUS_SERVER_FLAGS 1277s # ENUMPREFIX: G 1277s # enumsince: 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # value-production 1277s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1277s # valuenick: user 1277s # valuenum: 4 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # value-tail 1277s # EnumName: GDBusServerFlags 1277s # enum_name: g_dbus_server_flags 1277s # ENUMNAME: G_DBUS_SERVER_FLAGS 1277s # ENUMSHORT: DBUS_SERVER_FLAGS 1277s # ENUMPREFIX: G 1277s # enumsince: 1277s # type: flags 1277s # Type: Flags 1277s # TYPE: FLAGS 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 23 __main__.TestRspMkenums.test_empty_header 1277s # tmpdir: /tmp/tmpbrwufcg5 1277s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmpbrwufcg5/tmp2h7r2ndb.h: 1277s # /tmp/tmpbrwufcg5/tmpskds6gep.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Response file contains: --template /tmp/tmpbrwufcg5/tmpskds6gep.template /tmp/tmpbrwufcg5/tmp2h7r2ndb.h 1277s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbrwufcg5/tmp8kv4vcc3'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1277s ok 24 __main__.TestRspMkenums.test_empty_template 1277s # tmpdir: /tmp/tmpte4mx_t9 1277s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmpte4mx_t9/tmpq1nr5353.template: 1277s # Response file contains: --template /tmp/tmpte4mx_t9/tmpq1nr5353.template 1277s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpte4mx_t9/tmp4xq9pn0i'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # 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. */ 1277s # 1277s # 1277s # /* Generated data ends here */ 1277s ok 25 __main__.TestRspMkenums.test_enum_name 1277s # tmpdir: /tmp/tmpsg_u_6sl 1277s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1277s # /tmp/tmpsg_u_6sl/tmpoenwv7gt.h: 1277s # typedef enum _SomeEnumIdentifier { 1277s # ENUM_VALUE 1277s # } SomeEnumIdentifier; 1277s # 1277s # /tmp/tmpsg_u_6sl/tmpnie4rjij.template: 1277s # /*** BEGIN file-header ***/ 1277s # file-header 1277s # /*** END file-header ***/ 1277s # 1277s # /*** BEGIN file-production ***/ 1277s # file-production 1277s # filename: @filename@ 1277s # basename: @basename@ 1277s # /*** END file-production ***/ 1277s # 1277s # /*** BEGIN enumeration-production ***/ 1277s # enumeration-production 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END enumeration-production ***/ 1277s # 1277s # /*** BEGIN value-header ***/ 1277s # value-header 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-header ***/ 1277s # 1277s # /*** BEGIN value-production ***/ 1277s # value-production 1277s # VALUENAME: @VALUENAME@ 1277s # valuenick: @valuenick@ 1277s # valuenum: @valuenum@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-production ***/ 1277s # 1277s # /*** BEGIN value-tail ***/ 1277s # value-tail 1277s # EnumName: @EnumName@ 1277s # enum_name: @enum_name@ 1277s # ENUMNAME: @ENUMNAME@ 1277s # ENUMSHORT: @ENUMSHORT@ 1277s # ENUMPREFIX: @ENUMPREFIX@ 1277s # enumsince: @enumsince@ 1277s # type: @type@ 1277s # Type: @Type@ 1277s # TYPE: @TYPE@ 1277s # /*** END value-tail ***/ 1277s # 1277s # /*** BEGIN comment ***/ 1277s # comment 1277s # comment: @comment@ 1277s # /*** END comment ***/ 1277s # 1277s # /*** BEGIN file-tail ***/ 1277s # file-tail 1277s # /*** END file-tail ***/ 1277s # 1277s # Response file contains: --template /tmp/tmpsg_u_6sl/tmpnie4rjij.template /tmp/tmpsg_u_6sl/tmpoenwv7gt.h 1277s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsg_u_6sl/tmpjdnuudjy'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1277s # Output: comment 1277s # 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. 1277s # 1277s # 1277s # file-header 1277s # file-production 1277s # filename: /tmp/tmpsg_u_6sl/tmpoenwv7gt.h 1277s # basename: tmpoenwv7gt.h 1277s # enumeration-production 1277s # EnumName: SomeEnumIdentifier 1277s # enum_name: some_enum_identifier 1277s # ENUMNAME: SOME_ENUM_IDENTIFIER 1277s # ENUMSHORT: ENUM_IDENTIFIER 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-header 1277s # EnumName: SomeEnumIdentifier 1277s # enum_name: some_enum_identifier 1277s # ENUMNAME: SOME_ENUM_IDENTIFIER 1277s # ENUMSHORT: ENUM_IDENTIFIER 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-production 1277s # VALUENAME: ENUM_VALUE 1277s # valuenick: value 1277s # valuenum: 0 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # value-tail 1277s # EnumName: SomeEnumIdentifier 1277s # enum_name: some_enum_identifier 1277s # ENUMNAME: SOME_ENUM_IDENTIFIER 1277s # ENUMSHORT: ENUM_IDENTIFIER 1277s # ENUMPREFIX: SOME 1277s # enumsince: 1277s # type: enum 1277s # Type: Enum 1277s # TYPE: ENUM 1277s # file-tail 1277s # 1277s # comment 1277s # comment: Generated data ends here 1278s ok 26 __main__.TestRspMkenums.test_enum_private_public 1278s # tmpdir: /tmp/tmphwgjzds5 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # /tmp/tmphwgjzds5/tmpfjxh8v7x.h: 1278s # typedef enum { 1278s # ENUM_VALUE_PUBLIC1, 1278s # /*< private >*/ 1278s # ENUM_VALUE_PRIVATE, 1278s # } SomeEnumA 1278s # 1278s # /tmp/tmphwgjzds5/tmpb_bfb5aj.template: 1278s # /*** BEGIN file-header ***/ 1278s # file-header 1278s # /*** END file-header ***/ 1278s # 1278s # /*** BEGIN file-production ***/ 1278s # file-production 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-production ***/ 1278s # 1278s # /*** BEGIN enumeration-production ***/ 1278s # enumeration-production 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END enumeration-production ***/ 1278s # 1278s # /*** BEGIN value-header ***/ 1278s # value-header 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-header ***/ 1278s # 1278s # /*** BEGIN value-production ***/ 1278s # value-production 1278s # VALUENAME: @VALUENAME@ 1278s # valuenick: @valuenick@ 1278s # valuenum: @valuenum@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-production ***/ 1278s # 1278s # /*** BEGIN value-tail ***/ 1278s # value-tail 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-tail ***/ 1278s # 1278s # /*** BEGIN comment ***/ 1278s # comment 1278s # comment: @comment@ 1278s # /*** END comment ***/ 1278s # 1278s # /*** BEGIN file-tail ***/ 1278s # file-tail 1278s # /*** END file-tail ***/ 1278s # 1278s # Response file contains: --template /tmp/tmphwgjzds5/tmpb_bfb5aj.template /tmp/tmphwgjzds5/tmpfjxh8v7x.h 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphwgjzds5/tmpo3qy80w_'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: comment 1278s # 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. 1278s # 1278s # 1278s # file-header 1278s # file-production 1278s # filename: /tmp/tmphwgjzds5/tmpfjxh8v7x.h 1278s # basename: tmpfjxh8v7x.h 1278s # enumeration-production 1278s # EnumName: SomeEnumA 1278s # enum_name: some_enum_a 1278s # ENUMNAME: SOME_ENUM_A 1278s # ENUMSHORT: ENUM_A 1278s # ENUMPREFIX: SOME 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-header 1278s # EnumName: SomeEnumA 1278s # enum_name: some_enum_a 1278s # ENUMNAME: SOME_ENUM_A 1278s # ENUMSHORT: ENUM_A 1278s # ENUMPREFIX: SOME 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-production 1278s # VALUENAME: ENUM_VALUE_PUBLIC1 1278s # valuenick: public1 1278s # valuenum: 0 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-tail 1278s # EnumName: SomeEnumA 1278s # enum_name: some_enum_a 1278s # ENUMNAME: SOME_ENUM_A 1278s # ENUMSHORT: ENUM_A 1278s # ENUMPREFIX: SOME 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # file-tail 1278s # 1278s # comment 1278s # comment: Generated data ends here 1278s # /tmp/tmphwgjzds5/tmpoyyq8usl.h: 1278s # typedef enum { 1278s # /*< private >*/ 1278s # ENUM_VALUE_PRIVATE, 1278s # /*< public >*/ 1278s # ENUM_VALUE_PUBLIC2, 1278s # } SomeEnumB; 1278s # 1278s # /tmp/tmphwgjzds5/tmppf7zdrw2.template: 1278s # /*** BEGIN file-header ***/ 1278s # file-header 1278s # /*** END file-header ***/ 1278s # 1278s # /*** BEGIN file-production ***/ 1278s # file-production 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-production ***/ 1278s # 1278s # /*** BEGIN enumeration-production ***/ 1278s # enumeration-production 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END enumeration-production ***/ 1278s # 1278s # /*** BEGIN value-header ***/ 1278s # value-header 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-header ***/ 1278s # 1278s # /*** BEGIN value-production ***/ 1278s # value-production 1278s # VALUENAME: @VALUENAME@ 1278s # valuenick: @valuenick@ 1278s # valuenum: @valuenum@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-production ***/ 1278s # 1278s # /*** BEGIN value-tail ***/ 1278s # value-tail 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-tail ***/ 1278s # 1278s # /*** BEGIN comment ***/ 1278s # comment 1278s # comment: @comment@ 1278s # /*** END comment ***/ 1278s # 1278s # /*** BEGIN file-tail ***/ 1278s # file-tail 1278s # /*** END file-tail ***/ 1278s # 1278s # Response file contains: --template /tmp/tmphwgjzds5/tmppf7zdrw2.template /tmp/tmphwgjzds5/tmpoyyq8usl.h 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphwgjzds5/tmp9yjmddxs'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: comment 1278s # 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. 1278s # 1278s # 1278s # file-header 1278s # file-production 1278s # filename: /tmp/tmphwgjzds5/tmpoyyq8usl.h 1278s # basename: tmpoyyq8usl.h 1278s # enumeration-production 1278s # EnumName: SomeEnumB 1278s # enum_name: some_enum_b 1278s # ENUMNAME: SOME_ENUM_B 1278s # ENUMSHORT: ENUM_B 1278s # ENUMPREFIX: SOME 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-header 1278s # EnumName: SomeEnumB 1278s # enum_name: some_enum_b 1278s # ENUMNAME: SOME_ENUM_B 1278s # ENUMSHORT: ENUM_B 1278s # ENUMPREFIX: SOME 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-production 1278s # VALUENAME: ENUM_VALUE_PUBLIC2 1278s # valuenick: public2 1278s # valuenum: 1 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-tail 1278s # EnumName: SomeEnumB 1278s # enum_name: some_enum_b 1278s # ENUMNAME: SOME_ENUM_B 1278s # ENUMSHORT: ENUM_B 1278s # ENUMPREFIX: SOME 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # file-tail 1278s # 1278s # comment 1278s # comment: Generated data ends here 1278s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1278s # tmpdir: /tmp/tmpw0vscfz8 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # /tmp/tmpw0vscfz8/tmpx9_a1d8c.h: 1278s # typedef enum { 1278s # /*< private >*/ 1278s # ENUM_VALUE_PRIVATE = 5, 1278s # /*< public >*/ 1278s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1278s # } TestSymbolicEnum; 1278s # 1278s # /tmp/tmpw0vscfz8/tmptpkllufp.template: 1278s # /*** BEGIN file-header ***/ 1278s # file-header 1278s # /*** END file-header ***/ 1278s # 1278s # /*** BEGIN file-production ***/ 1278s # file-production 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-production ***/ 1278s # 1278s # /*** BEGIN enumeration-production ***/ 1278s # enumeration-production 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END enumeration-production ***/ 1278s # 1278s # /*** BEGIN value-header ***/ 1278s # value-header 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-header ***/ 1278s # 1278s # /*** BEGIN value-production ***/ 1278s # value-production 1278s # VALUENAME: @VALUENAME@ 1278s # valuenick: @valuenick@ 1278s # valuenum: @valuenum@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-production ***/ 1278s # 1278s # /*** BEGIN value-tail ***/ 1278s # value-tail 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-tail ***/ 1278s # 1278s # /*** BEGIN comment ***/ 1278s # comment 1278s # comment: @comment@ 1278s # /*** END comment ***/ 1278s # 1278s # /*** BEGIN file-tail ***/ 1278s # file-tail 1278s # /*** END file-tail ***/ 1278s # 1278s # Response file contains: --template /tmp/tmpw0vscfz8/tmptpkllufp.template /tmp/tmpw0vscfz8/tmpx9_a1d8c.h 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw0vscfz8/tmp66_bmqya'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: comment 1278s # 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. 1278s # 1278s # 1278s # file-header 1278s # file-production 1278s # filename: /tmp/tmpw0vscfz8/tmpx9_a1d8c.h 1278s # basename: tmpx9_a1d8c.h 1278s # enumeration-production 1278s # EnumName: TestSymbolicEnum 1278s # enum_name: test_symbolic_enum 1278s # ENUMNAME: TEST_SYMBOLIC_ENUM 1278s # ENUMSHORT: SYMBOLIC_ENUM 1278s # ENUMPREFIX: TEST 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-header 1278s # EnumName: TestSymbolicEnum 1278s # enum_name: test_symbolic_enum 1278s # ENUMNAME: TEST_SYMBOLIC_ENUM 1278s # ENUMSHORT: SYMBOLIC_ENUM 1278s # ENUMPREFIX: TEST 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-production 1278s # VALUENAME: ENUM_VALUE_PUBLIC 1278s # valuenick: public 1278s # valuenum: 7 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-tail 1278s # EnumName: TestSymbolicEnum 1278s # enum_name: test_symbolic_enum 1278s # ENUMNAME: TEST_SYMBOLIC_ENUM 1278s # ENUMSHORT: SYMBOLIC_ENUM 1278s # ENUMPREFIX: TEST 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # file-tail 1278s # 1278s # comment 1278s # comment: Generated data ends here 1278s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1278s # tmpdir: /tmp/tmp5vrq3xpk 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # /tmp/tmp5vrq3xpk/tmp0op1efpq.template: 1278s # /*** BEGIN file-header ***/ 1278s # file-header 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-header ***/ 1278s # 1278s # /*** BEGIN comment ***/ 1278s # comment 1278s # comment: @comment@ 1278s # /*** END comment ***/ 1278s # 1278s # /*** BEGIN file-tail ***/ 1278s # file-tail 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-tail ***/ 1278s # Response file contains: --template /tmp/tmp5vrq3xpk/tmp0op1efpq.template 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5vrq3xpk/tmpg4o_o_1g'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: comment 1278s # 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. 1278s # 1278s # 1278s # file-header 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # file-tail 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # 1278s # comment 1278s # comment: Generated data ends here 1278s ok 29 __main__.TestRspMkenums.test_help 1278s # tmpdir: /tmp/tmpnv2lzt_k 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # Response file contains: --help 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnv2lzt_k/tmpvhykdzee'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1278s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1278s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1278s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1278s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1278s # [--output OUTPUT] [--version] 1278s # [args ...] 1278s # 1278s # positional arguments: 1278s # args One or more input files, or a single argument 1278s # @rspfile_path pointing to a file that contains the 1278s # actual arguments 1278s # 1278s # options: 1278s # -h, --help show this help message and exit 1278s # --identifier-prefix IDPREFIX 1278s # Identifier prefix 1278s # --symbol-prefix SYMPREFIX 1278s # Symbol prefix 1278s # --fhead FHEAD Output file header 1278s # --ftail FTAIL Output file footer 1278s # --fprod FPROD Put out TEXT every time a new input file is being 1278s # processed. 1278s # --eprod EPROD Per enum text, produced prior to value iterations 1278s # --vhead VHEAD Value header, produced before iterating over enum 1278s # values 1278s # --vprod VPROD Value text, produced for each enum value. 1278s # --vtail VTAIL Value tail, produced after iterating over enum values 1278s # --comments COMMENT_TMPL 1278s # Comment structure 1278s # --template TEMPLATE Template file 1278s # --output OUTPUT 1278s # --version, -v Print version information 1278s # 1278s # Production text substitutions: 1278s # @EnumName@ PrefixTheXEnum 1278s # @enum_name@ prefix_the_xenum 1278s # @ENUMNAME@ PREFIX_THE_XENUM 1278s # @ENUMSHORT@ THE_XENUM 1278s # @ENUMPREFIX@ PREFIX 1278s # @enumsince@ the user-provided since value given 1278s # @VALUENAME@ PREFIX_THE_XVALUE 1278s # @valuenick@ the-xvalue 1278s # @valuenum@ the integer value (limited support, Since: 2.26) 1278s # @type@ either enum or flags 1278s # @Type@ either Enum or Flags 1278s # @TYPE@ either ENUM or FLAGS 1278s # @filename@ name of current input file 1278s # @basename@ base name of the current input file (Since: 2.22) 1278s ok 30 __main__.TestRspMkenums.test_no_args 1278s # tmpdir: /tmp/tmpap_dxn9u 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # Response file contains: 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpap_dxn9u/tmpdn208nvx'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # 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. */ 1278s # 1278s # 1278s # /* Generated data ends here */ 1278s ok 31 __main__.TestRspMkenums.test_no_headers 1278s # tmpdir: /tmp/tmpwgss1ghl 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # /tmp/tmpwgss1ghl/tmpg7elpd5u.template: 1278s # /*** BEGIN file-header ***/ 1278s # file-header 1278s # /*** END file-header ***/ 1278s # 1278s # /*** BEGIN file-production ***/ 1278s # file-production 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-production ***/ 1278s # 1278s # /*** BEGIN enumeration-production ***/ 1278s # enumeration-production 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END enumeration-production ***/ 1278s # 1278s # /*** BEGIN value-header ***/ 1278s # value-header 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-header ***/ 1278s # 1278s # /*** BEGIN value-production ***/ 1278s # value-production 1278s # VALUENAME: @VALUENAME@ 1278s # valuenick: @valuenick@ 1278s # valuenum: @valuenum@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-production ***/ 1278s # 1278s # /*** BEGIN value-tail ***/ 1278s # value-tail 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-tail ***/ 1278s # 1278s # /*** BEGIN comment ***/ 1278s # comment 1278s # comment: @comment@ 1278s # /*** END comment ***/ 1278s # 1278s # /*** BEGIN file-tail ***/ 1278s # file-tail 1278s # /*** END file-tail ***/ 1278s # 1278s # Response file contains: --template /tmp/tmpwgss1ghl/tmpg7elpd5u.template 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwgss1ghl/tmpngo766aa'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: comment 1278s # 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. 1278s # 1278s # 1278s # file-header 1278s # file-tail 1278s # 1278s # comment 1278s # comment: Generated data ends here 1278s ok 32 __main__.TestRspMkenums.test_no_nick 1278s # tmpdir: /tmp/tmp42ff26wm 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # /tmp/tmp42ff26wm/tmp4dzwkg5b.h: 1278s # typedef enum { 1278s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1278s # } GeglSamplerType; 1278s # 1278s # /tmp/tmp42ff26wm/tmpszsalubf.template: 1278s # /*** BEGIN file-header ***/ 1278s # file-header 1278s # /*** END file-header ***/ 1278s # 1278s # /*** BEGIN file-production ***/ 1278s # file-production 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-production ***/ 1278s # 1278s # /*** BEGIN enumeration-production ***/ 1278s # enumeration-production 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END enumeration-production ***/ 1278s # 1278s # /*** BEGIN value-header ***/ 1278s # value-header 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-header ***/ 1278s # 1278s # /*** BEGIN value-production ***/ 1278s # value-production 1278s # VALUENAME: @VALUENAME@ 1278s # valuenick: @valuenick@ 1278s # valuenum: @valuenum@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-production ***/ 1278s # 1278s # /*** BEGIN value-tail ***/ 1278s # value-tail 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-tail ***/ 1278s # 1278s # /*** BEGIN comment ***/ 1278s # comment 1278s # comment: @comment@ 1278s # /*** END comment ***/ 1278s # 1278s # /*** BEGIN file-tail ***/ 1278s # file-tail 1278s # /*** END file-tail ***/ 1278s # 1278s # Response file contains: --template /tmp/tmp42ff26wm/tmpszsalubf.template /tmp/tmp42ff26wm/tmp4dzwkg5b.h 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp42ff26wm/tmpme8s3qpc'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: comment 1278s # 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. 1278s # 1278s # 1278s # file-header 1278s # file-production 1278s # filename: /tmp/tmp42ff26wm/tmp4dzwkg5b.h 1278s # basename: tmp4dzwkg5b.h 1278s # enumeration-production 1278s # EnumName: GeglSamplerType 1278s # enum_name: gegl_sampler_type 1278s # ENUMNAME: GEGL_SAMPLER_TYPE 1278s # ENUMSHORT: SAMPLER_TYPE 1278s # ENUMPREFIX: GEGL 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-header 1278s # EnumName: GeglSamplerType 1278s # enum_name: gegl_sampler_type 1278s # ENUMNAME: GEGL_SAMPLER_TYPE 1278s # ENUMSHORT: SAMPLER_TYPE 1278s # ENUMPREFIX: GEGL 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-production 1278s # VALUENAME: GEGL_SAMPLER_NEAREST 1278s # valuenick: nearest 1278s # valuenum: 0 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-tail 1278s # EnumName: GeglSamplerType 1278s # enum_name: gegl_sampler_type 1278s # ENUMNAME: GEGL_SAMPLER_TYPE 1278s # ENUMSHORT: SAMPLER_TYPE 1278s # ENUMPREFIX: GEGL 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # file-tail 1278s # 1278s # comment 1278s # comment: Generated data ends here 1278s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1278s # tmpdir: /tmp/tmphup9zyci 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # /tmp/tmphup9zyci/tmpht4_dour.h: 1278s # /* Copyright © La Peña */ 1278s # typedef enum { 1278s # ENUM_VALUE 1278s # } SomeEnumIdentifier; 1278s # 1278s # /tmp/tmphup9zyci/tmpm99zw_uz.template: 1278s # /*** BEGIN file-header ***/ 1278s # file-header 1278s # /*** END file-header ***/ 1278s # 1278s # /*** BEGIN file-production ***/ 1278s # file-production 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-production ***/ 1278s # 1278s # /*** BEGIN enumeration-production ***/ 1278s # enumeration-production 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END enumeration-production ***/ 1278s # 1278s # /*** BEGIN value-header ***/ 1278s # value-header 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-header ***/ 1278s # 1278s # /*** BEGIN value-production ***/ 1278s # value-production 1278s # VALUENAME: @VALUENAME@ 1278s # valuenick: @valuenick@ 1278s # valuenum: @valuenum@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-production ***/ 1278s # 1278s # /*** BEGIN value-tail ***/ 1278s # value-tail 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-tail ***/ 1278s # 1278s # /*** BEGIN comment ***/ 1278s # comment 1278s # comment: @comment@ 1278s # /*** END comment ***/ 1278s # 1278s # /*** BEGIN file-tail ***/ 1278s # file-tail 1278s # /*** END file-tail ***/ 1278s # 1278s # Response file contains: --template /tmp/tmphup9zyci/tmpm99zw_uz.template /tmp/tmphup9zyci/tmpht4_dour.h 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphup9zyci/tmpx6z3ddnt'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: comment 1278s # 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. 1278s # 1278s # 1278s # file-header 1278s # file-production 1278s # filename: /tmp/tmphup9zyci/tmpht4_dour.h 1278s # basename: tmpht4_dour.h 1278s # enumeration-production 1278s # EnumName: SomeEnumIdentifier 1278s # enum_name: some_enum_identifier 1278s # ENUMNAME: SOME_ENUM_IDENTIFIER 1278s # ENUMSHORT: ENUM_IDENTIFIER 1278s # ENUMPREFIX: SOME 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-header 1278s # EnumName: SomeEnumIdentifier 1278s # enum_name: some_enum_identifier 1278s # ENUMNAME: SOME_ENUM_IDENTIFIER 1278s # ENUMSHORT: ENUM_IDENTIFIER 1278s # ENUMPREFIX: SOME 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-production 1278s # VALUENAME: ENUM_VALUE 1278s # valuenick: value 1278s # valuenum: 0 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-tail 1278s # EnumName: SomeEnumIdentifier 1278s # enum_name: some_enum_identifier 1278s # ENUMNAME: SOME_ENUM_IDENTIFIER 1278s # ENUMSHORT: ENUM_IDENTIFIER 1278s # ENUMPREFIX: SOME 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # file-tail 1278s # 1278s # comment 1278s # comment: Generated data ends here 1278s ok 34 __main__.TestRspMkenums.test_reproducible 1278s # tmpdir: /tmp/tmp6sm57243 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # /tmp/tmp6sm57243/tmpek_hwrbc.template: template 1278s # Response file contains: --template /tmp/tmp6sm57243/tmpek_hwrbc.template /tmp/tmp6sm57243/tmpsob_oqw91.h /tmp/tmp6sm57243/tmpw0y28fgz2.h 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6sm57243/tmp2h78q5_4'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # 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. */ 1278s # 1278s # 1278s # /* Generated data ends here */ 1278s # /tmp/tmp6sm57243/tmpyerpk7n1.template: template 1278s # Response file contains: --template /tmp/tmp6sm57243/tmpyerpk7n1.template /tmp/tmp6sm57243/tmpw0y28fgz2.h /tmp/tmp6sm57243/tmpsob_oqw91.h 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6sm57243/tmp91z40soc'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # 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. */ 1278s # 1278s # 1278s # /* Generated data ends here */ 1278s # Executing: glib/mkenums.py.test 1278s ok 35 __main__.TestRspMkenums.test_since 1278s # tmpdir: /tmp/tmpwjd1nbeh 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # /tmp/tmpwjd1nbeh/tmpvf9w5kg1.h: 1278s # typedef enum { /*< since=1.0 >*/ 1278s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1278s # } QmiWmsMessageProtocol; 1278s # 1278s # /tmp/tmpwjd1nbeh/tmpp2y6_myz.template: 1278s # /*** BEGIN file-header ***/ 1278s # file-header 1278s # /*** END file-header ***/ 1278s # 1278s # /*** BEGIN file-production ***/ 1278s # file-production 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-production ***/ 1278s # 1278s # /*** BEGIN enumeration-production ***/ 1278s # enumeration-production 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END enumeration-production ***/ 1278s # 1278s # /*** BEGIN value-header ***/ 1278s # value-header 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-header ***/ 1278s # 1278s # /*** BEGIN value-production ***/ 1278s # value-production 1278s # VALUENAME: @VALUENAME@ 1278s # valuenick: @valuenick@ 1278s # valuenum: @valuenum@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-production ***/ 1278s # 1278s # /*** BEGIN value-tail ***/ 1278s # value-tail 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-tail ***/ 1278s # 1278s # /*** BEGIN comment ***/ 1278s # comment 1278s # comment: @comment@ 1278s # /*** END comment ***/ 1278s # 1278s # /*** BEGIN file-tail ***/ 1278s # file-tail 1278s # /*** END file-tail ***/ 1278s # 1278s # Response file contains: --template /tmp/tmpwjd1nbeh/tmpp2y6_myz.template /tmp/tmpwjd1nbeh/tmpvf9w5kg1.h 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwjd1nbeh/tmpzhu6cs0q'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: comment 1278s # 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. 1278s # 1278s # 1278s # file-header 1278s # file-production 1278s # filename: /tmp/tmpwjd1nbeh/tmpvf9w5kg1.h 1278s # basename: tmpvf9w5kg1.h 1278s # enumeration-production 1278s # EnumName: QmiWmsMessageProtocol 1278s # enum_name: qmi_wms_message_protocol 1278s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1278s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1278s # ENUMPREFIX: QMI 1278s # enumsince: 1.0 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-header 1278s # EnumName: QmiWmsMessageProtocol 1278s # enum_name: qmi_wms_message_protocol 1278s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1278s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1278s # ENUMPREFIX: QMI 1278s # enumsince: 1.0 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-production 1278s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1278s # valuenick: cdma 1278s # valuenum: 0 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-tail 1278s # EnumName: QmiWmsMessageProtocol 1278s # enum_name: qmi_wms_message_protocol 1278s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1278s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1278s # ENUMPREFIX: QMI 1278s # enumsince: 1.0 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # file-tail 1278s # 1278s # comment 1278s # comment: Generated data ends here 1278s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1278s # tmpdir: /tmp/tmprbl_65an 1278s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1278s # /tmp/tmprbl_65an/tmp7p7l6jfa.h: 1278s # typedef enum { 1278s # FOO_VALUE /*< nick="eek, a comma" >*/ 1278s # } Foo; 1278s # 1278s # /tmp/tmprbl_65an/tmp5y4mmll3.template: 1278s # /*** BEGIN file-header ***/ 1278s # file-header 1278s # /*** END file-header ***/ 1278s # 1278s # /*** BEGIN file-production ***/ 1278s # file-production 1278s # filename: @filename@ 1278s # basename: @basename@ 1278s # /*** END file-production ***/ 1278s # 1278s # /*** BEGIN enumeration-production ***/ 1278s # enumeration-production 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END enumeration-production ***/ 1278s # 1278s # /*** BEGIN value-header ***/ 1278s # value-header 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-header ***/ 1278s # 1278s # /*** BEGIN value-production ***/ 1278s # value-production 1278s # VALUENAME: @VALUENAME@ 1278s # valuenick: @valuenick@ 1278s # valuenum: @valuenum@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-production ***/ 1278s # 1278s # /*** BEGIN value-tail ***/ 1278s # value-tail 1278s # EnumName: @EnumName@ 1278s # enum_name: @enum_name@ 1278s # ENUMNAME: @ENUMNAME@ 1278s # ENUMSHORT: @ENUMSHORT@ 1278s # ENUMPREFIX: @ENUMPREFIX@ 1278s # enumsince: @enumsince@ 1278s # type: @type@ 1278s # Type: @Type@ 1278s # TYPE: @TYPE@ 1278s # /*** END value-tail ***/ 1278s # 1278s # /*** BEGIN comment ***/ 1278s # comment 1278s # comment: @comment@ 1278s # /*** END comment ***/ 1278s # 1278s # /*** BEGIN file-tail ***/ 1278s # file-tail 1278s # /*** END file-tail ***/ 1278s # 1278s # Response file contains: --template /tmp/tmprbl_65an/tmp5y4mmll3.template /tmp/tmprbl_65an/tmp7p7l6jfa.h 1278s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprbl_65an/tmpsspkpa0s'] 1278s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1278s # Output: comment 1278s # 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. 1278s # 1278s # 1278s # file-header 1278s # file-production 1278s # filename: /tmp/tmprbl_65an/tmp7p7l6jfa.h 1278s # basename: tmp7p7l6jfa.h 1278s # enumeration-production 1278s # EnumName: Foo 1278s # enum_name: foo_ 1278s # ENUMNAME: FOO_ 1278s # ENUMSHORT: 1278s # ENUMPREFIX: FOO 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-header 1278s # EnumName: Foo 1278s # enum_name: foo_ 1278s # ENUMNAME: FOO_ 1278s # ENUMSHORT: 1278s # ENUMPREFIX: FOO 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-production 1278s # VALUENAME: FOO_VALUE 1278s # valuenick: eek, a comma 1278s # valuenum: 0 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # value-tail 1278s # EnumName: Foo 1278s # enum_name: foo_ 1278s # ENUMNAME: FOO_ 1278s # ENUMSHORT: 1278s # ENUMPREFIX: FOO 1278s # enumsince: 1278s # type: enum 1278s # Type: Enum 1278s # TYPE: ENUM 1278s # file-tail 1278s # 1278s # comment 1278s # comment: Generated data ends here 1278s 1..36 1278s ok - glib/mkenums.py.test 1278s # Running test: glib/unicode-normalize.test 1278s TAP version 14 1278s # random seed: R02S45c10f3cb5a23641367a989e4402500d 1278s 1..3 1278s # Start of unicode tests 1278s # Processing Part0 # Specific cases 1278s # Processing Part1 # Character by character test 1278s # Processing Part2 # Canonical Order Test 1278s # Processing Part3 # PRI #29 Test 1278s ok 1 /unicode/normalize 1278s # Invalid UTF-8 vector 0 1278s # Invalid UTF-8 vector 1 1278s # Invalid UTF-8 vector 2 1278s # Invalid UTF-8 vector 3 1278s # Invalid UTF-8 vector 4 1278s # Invalid UTF-8 vector 5 1278s # Invalid UTF-8 vector 6 1278s # Invalid UTF-8 vector 7 1278s # Invalid UTF-8 vector 8 1278s # Invalid UTF-8 vector 9 1278s # Invalid UTF-8 vector 10 1278s # Invalid UTF-8 vector 11 1278s # Invalid UTF-8 vector 12 1278s ok 2 /unicode/normalize-invalid 1278s # Start of normalize tests 1278s ok 3 /unicode/normalize/bad-length 1278s # End of normalize tests 1278s # End of unicode tests 1278s ok - glib/unicode-normalize.test 1278s # Running test: glib/objects-refcount1.test 1278s TAP version 14 1278s # random seed: R02S2225ccd465bdcd816ccfd211a737704e 1278s 1..1 1278s # Start of gobject tests 1278s # Start of refcount tests 1278s # init 0xba196425d750 1278s # 1278s # init 0xba196425d8e0 1278s # 1283s # Executing: glib/objects-refcount1.test 1283s # dispose 0xba196425d750! 1283s # 1283s # dispose 0xba196425d8e0! 1283s # 1283s ok 1 /gobject/refcount/object-basics 1283s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1283s # End of refcount tests 1283s # End of gobject tests 1283s ok - glib/objects-refcount1.test 1283s # Running test: glib/signal-handler.test 1283s TAP version 14 1283s # random seed: R02S2fdd512a9e730533a2a27d4385aa9d5b 1283s 1..7 1283s # Start of signal tests 1283s # Start of handler tests 1283s # min perf: connected 1 handlers in 0.000 seconds 1283s ok 1 /signal/handler/connect-many 1283s # min perf: disconnected 1 handlers in 0.000 seconds 1283s ok 2 /signal/handler/disconnect-many-ordered 1283s # min perf: disconnected 1 handlers in 0.000 seconds 1283s ok 3 /signal/handler/disconnect-many-inverse 1283s # min perf: disconnected 1 handlers in 0.000 seconds 1283s ok 4 /signal/handler/disconnect-many-random 1283s # min perf: disconnected 1 handlers in 0.000 seconds 1283s ok 5 /signal/handler/disconnect-2-signals 1283s # min perf: disconnected 1 handlers in 0.000 seconds 1283s ok 6 /signal/handler/disconnect-2-objects 1283s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1283s ok 7 /signal/handler/block-many 1283s # End of handler tests 1283s # End of signal tests 1283s ok - glib/signal-handler.test 1283s # Running test: glib/mem-overflow.test 1283s TAP version 14 1283s # random seed: R02Sf1cdcfd9121744952f05448b540b4ef7 1283s 1..2 1283s # Start of mem tests 1283s ok 1 /mem/overflow 1283s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1283s ok 2 /mem/empty-alloc 1283s # Start of overflow tests 1283s # Start of subprocess tests 1283s # End of subprocess tests 1283s # End of overflow tests 1283s # Start of empty-alloc tests 1283s # End of empty-alloc tests 1283s # End of mem tests 1283s ok - glib/mem-overflow.test 1283s # Running test: glib/readwrite.test 1283s TAP version 14 1283s # random seed: R02Sd9b7f23c1b6ea50a57a6d693f35fdd3f 1283s 1..3 1283s # Start of readwrite tests 1283s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1283s ok 1 /readwrite/test_g_file_open_readwrite 1283s ok 2 /readwrite/test_g_file_create_readwrite 1283s ok 3 /readwrite/test_g_file_replace_readwrite 1283s # End of readwrite tests 1283s ok - glib/readwrite.test 1283s # Running test: glib/queue.test 1283s TAP version 14 1283s # random seed: R02Sc50b74a44ba49729b2260e7334ca729a 1283s 1..12 1283s # Start of queue tests 1283s ok 1 /queue/basic 1283s ok 2 /queue/copy 1283s ok 3 /queue/off-by-one 1283s ok 4 /queue/find-custom 1283s ok 5 /queue/static 1283s ok 6 /queue/clear 1283s ok 7 /queue/free-full 1283s ok 8 /queue/clear-full 1283s ok 9 /queue/insert-sibling-link 1283s ok 10 /queue/push-nth-link 1283s # Start of clear-full tests 1283s ok 11 /queue/clear-full/noop 1283s # End of clear-full tests 1283s # Start of random tests 1284s ok 12 /queue/random/seed:952980965 1284s # End of random tests 1284s # End of queue tests 1284s ok - glib/queue.test 1284s # Running test: glib/override.test 1284s TAP version 14 1284s # random seed: R02S78b33ecd97a77d8b13a24ecf890e50cb 1284s 1..1 1284s # Start of gobject tests 1284s # *** emitting foo on a TestA instance 1284s # Expecting: TestA::foo,TestI::foo 1284s # Got: TestA::foo,TestI::foo 1284s # *** emitting bar on a TestA instance 1284s # Expecting: TestA::bar 1284s # Got: TestA::bar 1284s # *** emitting baz on a TestA instance 1284s # Expecting: TestA::baz 1284s # Got: TestA::baz 1284s # *** emitting foo on a TestB instance 1284s # Expecting: TestB::foo,TestA::foo,TestI::foo 1284s # Got: TestB::foo,TestA::foo,TestI::foo 1284s # *** emitting bar on a TestB instance 1284s # Expecting: TestB::bar,TestA::bar 1284s # Got: TestB::bar,TestA::bar 1284s # *** emitting baz on a TestB instance 1284s # Expecting: TestB::baz,TestA::baz 1284s # Got: TestB::baz,TestA::baz 1284s # *** emitting foo on a TestC instance 1284s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1284s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1284s # *** emitting bar on a TestC instance 1284s # Expecting: TestC::bar,TestB::bar,TestA::bar 1284s # Got: TestC::bar,TestB::bar,TestA::bar 1284s # *** emitting baz on a TestC instance 1284s # Expecting: TestC::baz,TestB::baz,TestA::baz 1284s # Got: TestC::baz,TestB::baz,TestA::baz 1284s ok 1 /gobject/override 1284s # End of gobject tests 1284s ok - glib/override.test 1284s # Running test: glib/regex.test 1284s TAP version 14 1284s # random seed: R02S6bb9b1ee6c05ad9eba9b33867f33e6fd 1284s 1..848 1284s # Start of regex tests 1284s ok 1 /regex/properties 1284s ok 2 /regex/class 1284s ok 3 /regex/lookahead 1284s ok 4 /regex/lookbehind 1284s ok 5 /regex/subpattern 1284s ok 6 /regex/condition 1284s ok 7 /regex/recursion 1284s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1284s ok 8 /regex/multiline 1284s ok 9 /regex/explicit-crlf 1284s ok 10 /regex/max-lookbehind 1284s ok 11 /regex/compile-errors 1284s ok 12 /regex/jit-unsupported-matching 1284s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1284s ok 13 /regex/unmatched-named-subpattern 1284s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1284s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1284s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1284s ok 14 /regex/compiled-regex-after-jit-failure 1284s # Start of new tests 1284s ok 15 /regex/new/1 1284s ok 16 /regex/new/2 1284s ok 17 /regex/new/3 1284s ok 18 /regex/new/4 1284s ok 19 /regex/new/5 1284s ok 20 /regex/new/6 1284s ok 21 /regex/new/7 1284s ok 22 /regex/new/8 1284s ok 23 /regex/new/9 1284s ok 24 /regex/new/10 1284s ok 25 /regex/new/11 1284s ok 26 /regex/new/12 1284s ok 27 /regex/new/13 1284s ok 28 /regex/new/14 1284s ok 29 /regex/new/15 1284s ok 30 /regex/new/16 1284s ok 31 /regex/new/17 1284s ok 32 /regex/new/18 1284s ok 33 /regex/new/19 1284s ok 34 /regex/new/71 1284s ok 35 /regex/new/80 1284s ok 36 /regex/new/82 1284s # End of new tests 1284s # Start of new-check-flags tests 1284s ok 37 /regex/new-check-flags/20 1284s ok 38 /regex/new-check-flags/21 1284s ok 39 /regex/new-check-flags/22 1284s ok 40 /regex/new-check-flags/23 1284s ok 41 /regex/new-check-flags/24 1284s ok 42 /regex/new-check-flags/25 1284s ok 43 /regex/new-check-flags/26 1284s ok 44 /regex/new-check-flags/27 1284s ok 45 /regex/new-check-flags/28 1284s ok 46 /regex/new-check-flags/29 1284s ok 47 /regex/new-check-flags/30 1284s ok 48 /regex/new-check-flags/31 1284s ok 49 /regex/new-check-flags/32 1284s ok 50 /regex/new-check-flags/33 1284s ok 51 /regex/new-check-flags/34 1284s ok 52 /regex/new-check-flags/35 1284s ok 53 /regex/new-check-flags/36 1284s # End of new-check-flags tests 1284s # Start of new-fail tests 1284s ok 54 /regex/new-fail/37 1284s ok 55 /regex/new-fail/38 1284s ok 56 /regex/new-fail/39 1284s ok 57 /regex/new-fail/40 1284s ok 58 /regex/new-fail/41 1284s ok 59 /regex/new-fail/42 1284s ok 60 /regex/new-fail/43 1284s ok 61 /regex/new-fail/44 1284s ok 62 /regex/new-fail/45 1284s ok 63 /regex/new-fail/46 1284s ok 64 /regex/new-fail/47 1284s ok 65 /regex/new-fail/48 1284s ok 66 /regex/new-fail/49 1284s ok 67 /regex/new-fail/50 1284s ok 68 /regex/new-fail/51 1284s ok 69 /regex/new-fail/52 1284s ok 70 /regex/new-fail/53 1284s ok 71 /regex/new-fail/54 1284s ok 72 /regex/new-fail/55 1284s ok 73 /regex/new-fail/56 1284s ok 74 /regex/new-fail/57 1284s ok 75 /regex/new-fail/58 1284s ok 76 /regex/new-fail/59 1284s ok 77 /regex/new-fail/60 1284s ok 78 /regex/new-fail/61 1284s ok 79 /regex/new-fail/62 1284s ok 80 /regex/new-fail/63 1284s ok 81 /regex/new-fail/64 1284s ok 82 /regex/new-fail/65 1284s ok 83 /regex/new-fail/66 1284s ok 84 /regex/new-fail/67 1284s ok 85 /regex/new-fail/68 1284s ok 86 /regex/new-fail/69 1284s ok 87 /regex/new-fail/70 1284s ok 88 /regex/new-fail/72 1284s ok 89 /regex/new-fail/73 1284s ok 90 /regex/new-fail/74 1284s ok 91 /regex/new-fail/75 1284s ok 92 /regex/new-fail/76 1284s ok 93 /regex/new-fail/77 1284s ok 94 /regex/new-fail/78 1284s ok 95 /regex/new-fail/79 1284s ok 96 /regex/new-fail/81 1284s ok 97 /regex/new-fail/83 1284s ok 98 /regex/new-fail/84 1284s ok 99 /regex/new-fail/85 1284s ok 100 /regex/new-fail/86 1284s ok 101 /regex/new-fail/87 1284s ok 102 /regex/new-fail/88 1284s ok 103 /regex/new-fail/89 1284s ok 104 /regex/new-fail/90 1284s ok 105 /regex/new-fail/91 1284s # End of new-fail tests 1284s # Start of match-simple tests 1284s ok 106 /regex/match-simple/92 1284s ok 107 /regex/match-simple/93 1284s ok 108 /regex/match-simple/94 1284s ok 109 /regex/match-simple/95 1284s ok 110 /regex/match-simple/96 1284s ok 111 /regex/match-simple/97 1284s ok 112 /regex/match-simple/98 1284s ok 113 /regex/match-simple/99 1284s ok 114 /regex/match-simple/100 1284s ok 115 /regex/match-simple/101 1284s ok 116 /regex/match-simple/102 1284s ok 117 /regex/match-simple/103 1284s ok 118 /regex/match-simple/104 1284s ok 119 /regex/match-simple/105 1284s ok 120 /regex/match-simple/106 1284s ok 121 /regex/match-simple/107 1284s ok 122 /regex/match-simple/108 1284s ok 123 /regex/match-simple/109 1284s ok 124 /regex/match-simple/110 1284s ok 125 /regex/match-simple/111 1284s ok 126 /regex/match-simple/112 1284s ok 127 /regex/match-simple/113 1284s ok 128 /regex/match-simple/114 1284s ok 129 /regex/match-simple/115 1284s ok 130 /regex/match-simple/116 1284s ok 131 /regex/match-simple/117 1284s ok 132 /regex/match-simple/118 1284s ok 133 /regex/match-simple/119 1284s ok 134 /regex/match-simple/120 1284s ok 135 /regex/match-simple/121 1284s ok 136 /regex/match-simple/122 1284s ok 137 /regex/match-simple/123 1284s ok 138 /regex/match-simple/124 1284s ok 139 /regex/match-simple/125 1284s ok 140 /regex/match-simple/126 1284s ok 141 /regex/match-simple/127 1284s ok 142 /regex/match-simple/128 1284s ok 143 /regex/match-simple/129 1284s ok 144 /regex/match-simple/130 1284s ok 145 /regex/match-simple/131 1284s ok 146 /regex/match-simple/132 1284s ok 147 /regex/match-simple/133 1284s ok 148 /regex/match-simple/134 1284s ok 149 /regex/match-simple/135 1284s ok 150 /regex/match-simple/136 1284s ok 151 /regex/match-simple/137 1284s ok 152 /regex/match-simple/138 1284s ok 153 /regex/match-simple/139 1284s ok 154 /regex/match-simple/140 1284s ok 155 /regex/match-simple/141 1284s ok 156 /regex/match-simple/142 1284s ok 157 /regex/match-simple/143 1284s ok 158 /regex/match-simple/144 1284s ok 159 /regex/match-simple/145 1284s ok 160 /regex/match-simple/146 1284s ok 161 /regex/match-simple/147 1284s ok 162 /regex/match-simple/148 1284s ok 163 /regex/match-simple/149 1284s ok 164 /regex/match-simple/150 1284s ok 165 /regex/match-simple/151 1284s ok 166 /regex/match-simple/152 1284s ok 167 /regex/match-simple/153 1284s ok 168 /regex/match-simple/154 1284s ok 169 /regex/match-simple/155 1284s ok 170 /regex/match-simple/156 1284s ok 171 /regex/match-simple/157 1284s ok 172 /regex/match-simple/158 1284s ok 173 /regex/match-simple/159 1284s ok 174 /regex/match-simple/160 1284s ok 175 /regex/match-simple/161 1284s ok 176 /regex/match-simple/162 1284s ok 177 /regex/match-simple/163 1284s ok 178 /regex/match-simple/164 1284s # End of match-simple tests 1284s # Start of match-simple-optimized tests 1284s ok 179 /regex/match-simple-optimized/92 1284s ok 180 /regex/match-simple-optimized/93 1284s ok 181 /regex/match-simple-optimized/94 1284s ok 182 /regex/match-simple-optimized/95 1284s ok 183 /regex/match-simple-optimized/96 1284s ok 184 /regex/match-simple-optimized/97 1284s ok 185 /regex/match-simple-optimized/98 1284s ok 186 /regex/match-simple-optimized/99 1284s ok 187 /regex/match-simple-optimized/100 1284s ok 188 /regex/match-simple-optimized/101 1284s ok 189 /regex/match-simple-optimized/102 1284s ok 190 /regex/match-simple-optimized/103 1284s ok 191 /regex/match-simple-optimized/104 1284s ok 192 /regex/match-simple-optimized/105 1284s ok 193 /regex/match-simple-optimized/106 1284s ok 194 /regex/match-simple-optimized/107 1284s ok 195 /regex/match-simple-optimized/108 1284s ok 196 /regex/match-simple-optimized/109 1284s ok 197 /regex/match-simple-optimized/110 1284s ok 198 /regex/match-simple-optimized/111 1284s ok 199 /regex/match-simple-optimized/112 1284s ok 200 /regex/match-simple-optimized/113 1284s ok 201 /regex/match-simple-optimized/114 1284s ok 202 /regex/match-simple-optimized/115 1284s ok 203 /regex/match-simple-optimized/116 1284s ok 204 /regex/match-simple-optimized/117 1284s ok 205 /regex/match-simple-optimized/118 1284s ok 206 /regex/match-simple-optimized/119 1284s ok 207 /regex/match-simple-optimized/120 1284s ok 208 /regex/match-simple-optimized/121 1284s ok 209 /regex/match-simple-optimized/122 1284s ok 210 /regex/match-simple-optimized/123 1284s ok 211 /regex/match-simple-optimized/124 1284s ok 212 /regex/match-simple-optimized/125 1284s ok 213 /regex/match-simple-optimized/126 1284s ok 214 /regex/match-simple-optimized/127 1284s ok 215 /regex/match-simple-optimized/128 1284s ok 216 /regex/match-simple-optimized/129 1284s ok 217 /regex/match-simple-optimized/130 1284s ok 218 /regex/match-simple-optimized/131 1284s ok 219 /regex/match-simple-optimized/132 1284s ok 220 /regex/match-simple-optimized/133 1284s ok 221 /regex/match-simple-optimized/134 1284s ok 222 /regex/match-simple-optimized/135 1284s ok 223 /regex/match-simple-optimized/136 1284s ok 224 /regex/match-simple-optimized/137 1284s ok 225 /regex/match-simple-optimized/138 1284s ok 226 /regex/match-simple-optimized/139 1284s ok 227 /regex/match-simple-optimized/140 1284s ok 228 /regex/match-simple-optimized/141 1284s ok 229 /regex/match-simple-optimized/142 1284s ok 230 /regex/match-simple-optimized/143 1284s ok 231 /regex/match-simple-optimized/144 1284s ok 232 /regex/match-simple-optimized/145 1284s ok 233 /regex/match-simple-optimized/146 1284s ok 234 /regex/match-simple-optimized/147 1284s ok 235 /regex/match-simple-optimized/148 1284s ok 236 /regex/match-simple-optimized/149 1284s ok 237 /regex/match-simple-optimized/150 1284s ok 238 /regex/match-simple-optimized/151 1284s ok 239 /regex/match-simple-optimized/152 1284s ok 240 /regex/match-simple-optimized/153 1284s ok 241 /regex/match-simple-optimized/154 1284s ok 242 /regex/match-simple-optimized/155 1284s ok 243 /regex/match-simple-optimized/156 1284s ok 244 /regex/match-simple-optimized/157 1284s ok 245 /regex/match-simple-optimized/158 1284s ok 246 /regex/match-simple-optimized/159 1284s ok 247 /regex/match-simple-optimized/160 1284s ok 248 /regex/match-simple-optimized/161 1284s ok 249 /regex/match-simple-optimized/162 1284s ok 250 /regex/match-simple-optimized/163 1284s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1284s ok 251 /regex/match-simple-optimized/164 1284s # End of match-simple-optimized tests 1284s # Start of match tests 1284s ok 252 /regex/match/165 1284s ok 253 /regex/match/166 1284s ok 254 /regex/match/167 1284s ok 255 /regex/match/168 1284s ok 256 /regex/match/169 1284s ok 257 /regex/match/170 1284s ok 258 /regex/match/171 1284s ok 259 /regex/match/172 1284s ok 260 /regex/match/173 1284s ok 261 /regex/match/174 1284s ok 262 /regex/match/175 1284s ok 263 /regex/match/176 1284s ok 264 /regex/match/177 1284s ok 265 /regex/match/178 1284s ok 266 /regex/match/179 1284s ok 267 /regex/match/180 1284s ok 268 /regex/match/181 1284s ok 269 /regex/match/182 1284s ok 270 /regex/match/183 1284s ok 271 /regex/match/184 1284s ok 272 /regex/match/185 1284s ok 273 /regex/match/186 1284s ok 274 /regex/match/187 1284s ok 275 /regex/match/188 1284s ok 276 /regex/match/189 1284s ok 277 /regex/match/190 1284s ok 278 /regex/match/191 1284s ok 279 /regex/match/192 1284s ok 280 /regex/match/193 1284s ok 281 /regex/match/194 1284s ok 282 /regex/match/195 1284s ok 283 /regex/match/196 1284s ok 284 /regex/match/197 1284s ok 285 /regex/match/198 1284s ok 286 /regex/match/199 1284s ok 287 /regex/match/200 1284s ok 288 /regex/match/201 1284s ok 289 /regex/match/202 1284s ok 290 /regex/match/203 1284s ok 291 /regex/match/204 1284s ok 292 /regex/match/205 1284s ok 293 /regex/match/206 1284s ok 294 /regex/match/207 1284s ok 295 /regex/match/208 1284s ok 296 /regex/match/209 1284s ok 297 /regex/match/210 1284s ok 298 /regex/match/211 1284s ok 299 /regex/match/212 1284s ok 300 /regex/match/213 1284s ok 301 /regex/match/214 1284s ok 302 /regex/match/215 1284s ok 303 /regex/match/216 1284s ok 304 /regex/match/217 1284s ok 305 /regex/match/218 1284s ok 306 /regex/match/219 1284s ok 307 /regex/match/220 1284s ok 308 /regex/match/221 1284s ok 309 /regex/match/222 1284s ok 310 /regex/match/223 1284s ok 311 /regex/match/224 1284s ok 312 /regex/match/225 1284s ok 313 /regex/match/226 1284s ok 314 /regex/match/227 1284s ok 315 /regex/match/228 1284s ok 316 /regex/match/229 1284s ok 317 /regex/match/230 1284s ok 318 /regex/match/231 1284s ok 319 /regex/match/232 1284s ok 320 /regex/match/233 1284s ok 321 /regex/match/234 1284s ok 322 /regex/match/235 1284s ok 323 /regex/match/236 1284s ok 324 /regex/match/237 1284s ok 325 /regex/match/238 1284s ok 326 /regex/match/239 1284s ok 327 /regex/match/240 1284s ok 328 /regex/match/241 1284s ok 329 /regex/match/242 1284s ok 330 /regex/match/243 1284s ok 331 /regex/match/244 1284s ok 332 /regex/match/245 1284s ok 333 /regex/match/246 1284s ok 334 /regex/match/partial281 1284s ok 335 /regex/match/partial282 1284s ok 336 /regex/match/partial283 1284s ok 337 /regex/match/partial284 1284s ok 338 /regex/match/partial285 1284s ok 339 /regex/match/partial286 1284s ok 340 /regex/match/partial287 1284s ok 341 /regex/match/partial288 1284s ok 342 /regex/match/partial289 1284s ok 343 /regex/match/partial290 1284s ok 344 /regex/match/partial291 1284s ok 345 /regex/match/partial292 1284s ok 346 /regex/match/partial293 1284s ok 347 /regex/match/partial294 1284s ok 348 /regex/match/partial295 1284s ok 349 /regex/match/partial296 1284s ok 350 /regex/match/partial297 1284s ok 351 /regex/match/partial298 1284s ok 352 /regex/match/partial299 1284s ok 353 /regex/match/partial300 1284s ok 354 /regex/match/partial301 1284s ok 355 /regex/match/partial302 1284s # Start of next0 tests 1284s ok 356 /regex/match/next0/247 1284s ok 357 /regex/match/next0/248 1284s ok 358 /regex/match/next0/249 1284s ok 359 /regex/match/next0/250 1284s # End of next0 tests 1284s # Start of next1 tests 1284s ok 360 /regex/match/next1/251 1284s ok 361 /regex/match/next1/252 1284s ok 362 /regex/match/next1/253 1284s ok 363 /regex/match/next1/254 1284s ok 364 /regex/match/next1/255 1284s # End of next1 tests 1284s # Start of next2 tests 1284s ok 365 /regex/match/next2/256 1284s ok 366 /regex/match/next2/257 1284s ok 367 /regex/match/next2/258 1284s ok 368 /regex/match/next2/259 1284s ok 369 /regex/match/next2/260 1284s ok 370 /regex/match/next2/261 1284s ok 371 /regex/match/next2/262 1284s ok 372 /regex/match/next2/263 1284s # End of next2 tests 1284s # Start of next3 tests 1284s ok 373 /regex/match/next3/264 1284s ok 374 /regex/match/next3/265 1284s ok 375 /regex/match/next3/266 1284s ok 376 /regex/match/next3/267 1284s ok 377 /regex/match/next3/268 1284s ok 378 /regex/match/next3/269 1284s # End of next3 tests 1284s # Start of next4 tests 1284s ok 379 /regex/match/next4/270 1284s # End of next4 tests 1284s # Start of count tests 1284s ok 380 /regex/match/count/271 1284s ok 381 /regex/match/count/272 1284s ok 382 /regex/match/count/273 1284s ok 383 /regex/match/count/274 1284s ok 384 /regex/match/count/275 1284s ok 385 /regex/match/count/276 1284s ok 386 /regex/match/count/277 1284s ok 387 /regex/match/count/278 1284s ok 388 /regex/match/count/279 1284s ok 389 /regex/match/count/280 1284s # End of count tests 1284s # Start of count-optimized tests 1284s ok 390 /regex/match/count-optimized/271 1284s ok 391 /regex/match/count-optimized/272 1284s ok 392 /regex/match/count-optimized/273 1284s ok 393 /regex/match/count-optimized/274 1284s ok 394 /regex/match/count-optimized/275 1284s ok 395 /regex/match/count-optimized/276 1284s ok 396 /regex/match/count-optimized/277 1284s ok 397 /regex/match/count-optimized/278 1284s ok 398 /regex/match/count-optimized/279 1284s ok 399 /regex/match/count-optimized/280 1284s # End of count-optimized tests 1284s # Start of partial-optimized tests 1284s ok 400 /regex/match/partial-optimized/281 1284s ok 401 /regex/match/partial-optimized/282 1284s ok 402 /regex/match/partial-optimized/283 1284s ok 403 /regex/match/partial-optimized/284 1284s ok 404 /regex/match/partial-optimized/285 1284s ok 405 /regex/match/partial-optimized/286 1284s ok 406 /regex/match/partial-optimized/287 1284s ok 407 /regex/match/partial-optimized/288 1284s ok 408 /regex/match/partial-optimized/289 1284s ok 409 /regex/match/partial-optimized/290 1284s ok 410 /regex/match/partial-optimized/291 1284s ok 411 /regex/match/partial-optimized/292 1284s ok 412 /regex/match/partial-optimized/293 1284s ok 413 /regex/match/partial-optimized/294 1284s ok 414 /regex/match/partial-optimized/295 1284s ok 415 /regex/match/partial-optimized/296 1284s ok 416 /regex/match/partial-optimized/297 1284s ok 417 /regex/match/partial-optimized/298 1284s ok 418 /regex/match/partial-optimized/299 1284s ok 419 /regex/match/partial-optimized/300 1284s ok 420 /regex/match/partial-optimized/301 1284s ok 421 /regex/match/partial-optimized/302 1284s # End of partial-optimized tests 1284s # Start of subpattern tests 1284s ok 422 /regex/match/subpattern/303 1284s ok 423 /regex/match/subpattern/304 1284s ok 424 /regex/match/subpattern/305 1284s ok 425 /regex/match/subpattern/306 1284s ok 426 /regex/match/subpattern/307 1284s ok 427 /regex/match/subpattern/308 1284s ok 428 /regex/match/subpattern/309 1284s ok 429 /regex/match/subpattern/310 1284s ok 430 /regex/match/subpattern/311 1284s ok 431 /regex/match/subpattern/312 1284s ok 432 /regex/match/subpattern/313 1284s ok 433 /regex/match/subpattern/314 1284s ok 434 /regex/match/subpattern/315 1284s # Start of named tests 1284s # Start of dupnames tests 1284s ok 435 /regex/match/subpattern/named/dupnames/325 1284s ok 436 /regex/match/subpattern/named/dupnames/326 1284s ok 437 /regex/match/subpattern/named/dupnames/327 1284s ok 438 /regex/match/subpattern/named/dupnames/328 1284s ok 439 /regex/match/subpattern/named/dupnames/329 1284s # End of dupnames tests 1284s # End of named tests 1284s # End of subpattern tests 1284s # Start of subpattern-optimized tests 1284s ok 440 /regex/match/subpattern-optimized/303 1284s ok 441 /regex/match/subpattern-optimized/304 1284s ok 442 /regex/match/subpattern-optimized/305 1284s ok 443 /regex/match/subpattern-optimized/306 1284s ok 444 /regex/match/subpattern-optimized/307 1284s ok 445 /regex/match/subpattern-optimized/308 1284s ok 446 /regex/match/subpattern-optimized/309 1284s ok 447 /regex/match/subpattern-optimized/310 1284s ok 448 /regex/match/subpattern-optimized/311 1284s ok 449 /regex/match/subpattern-optimized/312 1284s ok 450 /regex/match/subpattern-optimized/313 1284s ok 451 /regex/match/subpattern-optimized/314 1284s ok 452 /regex/match/subpattern-optimized/315 1284s # End of subpattern-optimized tests 1284s # Start of named tests 1284s # Start of subpattern tests 1284s ok 453 /regex/match/named/subpattern/316 1284s ok 454 /regex/match/named/subpattern/317 1284s ok 455 /regex/match/named/subpattern/318 1284s ok 456 /regex/match/named/subpattern/319 1284s ok 457 /regex/match/named/subpattern/320 1284s ok 458 /regex/match/named/subpattern/321 1284s ok 459 /regex/match/named/subpattern/322 1284s ok 460 /regex/match/named/subpattern/323 1284s ok 461 /regex/match/named/subpattern/324 1284s ok 462 /regex/match/named/subpattern/330 1284s ok 463 /regex/match/named/subpattern/331 1284s ok 464 /regex/match/named/subpattern/332 1284s ok 465 /regex/match/named/subpattern/333 1284s ok 466 /regex/match/named/subpattern/334 1284s # End of subpattern tests 1284s # End of named tests 1284s # End of match tests 1284s # Start of match-optimized tests 1284s ok 467 /regex/match-optimized/165 1284s ok 468 /regex/match-optimized/166 1284s ok 469 /regex/match-optimized/167 1284s ok 470 /regex/match-optimized/168 1284s ok 471 /regex/match-optimized/169 1284s ok 472 /regex/match-optimized/170 1284s ok 473 /regex/match-optimized/171 1284s ok 474 /regex/match-optimized/172 1284s ok 475 /regex/match-optimized/173 1284s ok 476 /regex/match-optimized/174 1284s ok 477 /regex/match-optimized/175 1284s ok 478 /regex/match-optimized/176 1284s ok 479 /regex/match-optimized/177 1284s ok 480 /regex/match-optimized/178 1284s ok 481 /regex/match-optimized/179 1284s ok 482 /regex/match-optimized/180 1284s ok 483 /regex/match-optimized/181 1284s ok 484 /regex/match-optimized/182 1284s ok 485 /regex/match-optimized/183 1284s ok 486 /regex/match-optimized/184 1284s ok 487 /regex/match-optimized/185 1284s ok 488 /regex/match-optimized/186 1284s ok 489 /regex/match-optimized/187 1284s ok 490 /regex/match-optimized/188 1284s ok 491 /regex/match-optimized/189 1284s ok 492 /regex/match-optimized/190 1284s ok 493 /regex/match-optimized/191 1284s ok 494 /regex/match-optimized/192 1284s ok 495 /regex/match-optimized/193 1284s ok 496 /regex/match-optimized/194 1284s ok 497 /regex/match-optimized/195 1284s ok 498 /regex/match-optimized/196 1284s ok 499 /regex/match-optimized/197 1284s ok 500 /regex/match-optimized/198 1284s ok 501 /regex/match-optimized/199 1284s ok 502 /regex/match-optimized/200 1284s ok 503 /regex/match-optimized/201 1284s ok 504 /regex/match-optimized/202 1284s ok 505 /regex/match-optimized/203 1284s ok 506 /regex/match-optimized/204 1284s ok 507 /regex/match-optimized/205 1284s ok 508 /regex/match-optimized/206 1284s ok 509 /regex/match-optimized/207 1284s ok 510 /regex/match-optimized/208 1284s ok 511 /regex/match-optimized/209 1284s ok 512 /regex/match-optimized/210 1284s ok 513 /regex/match-optimized/211 1284s ok 514 /regex/match-optimized/212 1284s ok 515 /regex/match-optimized/213 1284s ok 516 /regex/match-optimized/214 1284s ok 517 /regex/match-optimized/215 1284s ok 518 /regex/match-optimized/216 1284s ok 519 /regex/match-optimized/217 1284s ok 520 /regex/match-optimized/218 1284s ok 521 /regex/match-optimized/219 1284s ok 522 /regex/match-optimized/220 1284s ok 523 /regex/match-optimized/221 1284s ok 524 /regex/match-optimized/222 1284s ok 525 /regex/match-optimized/223 1284s ok 526 /regex/match-optimized/224 1284s ok 527 /regex/match-optimized/225 1284s ok 528 /regex/match-optimized/226 1284s ok 529 /regex/match-optimized/227 1284s ok 530 /regex/match-optimized/228 1284s ok 531 /regex/match-optimized/229 1284s ok 532 /regex/match-optimized/230 1284s ok 533 /regex/match-optimized/231 1284s ok 534 /regex/match-optimized/232 1284s ok 535 /regex/match-optimized/233 1284s ok 536 /regex/match-optimized/234 1284s ok 537 /regex/match-optimized/235 1284s ok 538 /regex/match-optimized/236 1284s ok 539 /regex/match-optimized/237 1284s ok 540 /regex/match-optimized/238 1284s ok 541 /regex/match-optimized/239 1284s ok 542 /regex/match-optimized/240 1284s ok 543 /regex/match-optimized/241 1284s ok 544 /regex/match-optimized/242 1284s ok 545 /regex/match-optimized/243 1284s ok 546 /regex/match-optimized/244 1284s ok 547 /regex/match-optimized/245 1284s ok 548 /regex/match-optimized/246 1284s # End of match-optimized tests 1284s # Start of fetch-all0 tests 1284s ok 549 /regex/fetch-all0/335 1284s ok 550 /regex/fetch-all0/336 1284s # End of fetch-all0 tests 1284s # Start of fetch-all1 tests 1284s ok 551 /regex/fetch-all1/337 1284s ok 552 /regex/fetch-all1/338 1284s ok 553 /regex/fetch-all1/339 1284s # End of fetch-all1 tests 1284s # Start of fetch-all2 tests 1284s ok 554 /regex/fetch-all2/340 1284s ok 555 /regex/fetch-all2/341 1284s ok 556 /regex/fetch-all2/342 1284s # End of fetch-all2 tests 1284s # Start of fetch-all3 tests 1284s ok 557 /regex/fetch-all3/343 1284s ok 558 /regex/fetch-all3/344 1284s ok 559 /regex/fetch-all3/345 1284s ok 560 /regex/fetch-all3/346 1284s ok 561 /regex/fetch-all3/347 1284s # End of fetch-all3 tests 1284s # Start of split tests 1284s # Start of simple0 tests 1284s ok 562 /regex/split/simple0/348 1284s ok 563 /regex/split/simple0/349 1284s ok 564 /regex/split/simple0/364 1284s ok 565 /regex/split/simple0/365 1284s # End of simple0 tests 1284s # Start of simple1 tests 1284s ok 566 /regex/split/simple1/350 1284s ok 567 /regex/split/simple1/351 1284s # End of simple1 tests 1284s # Start of simple2 tests 1284s ok 568 /regex/split/simple2/352 1284s ok 569 /regex/split/simple2/358 1284s ok 570 /regex/split/simple2/360 1284s # End of simple2 tests 1284s # Start of simple3 tests 1284s ok 571 /regex/split/simple3/353 1284s ok 572 /regex/split/simple3/354 1284s ok 573 /regex/split/simple3/355 1284s ok 574 /regex/split/simple3/356 1284s ok 575 /regex/split/simple3/357 1284s ok 576 /regex/split/simple3/359 1284s ok 577 /regex/split/simple3/361 1284s ok 578 /regex/split/simple3/362 1284s ok 579 /regex/split/simple3/363 1284s # End of simple3 tests 1284s # End of split tests 1284s # Start of split0 tests 1284s ok 580 /regex/split0/366 1284s ok 581 /regex/split0/368 1284s # End of split0 tests 1284s # Start of full-split0 tests 1284s ok 582 /regex/full-split0/367 1284s ok 583 /regex/full-split0/369 1284s ok 584 /regex/full-split0/370 1284s ok 585 /regex/full-split0/371 1284s ok 586 /regex/full-split0/372 1284s # End of full-split0 tests 1284s # Start of split1 tests 1284s ok 587 /regex/split1/373 1284s ok 588 /regex/split1/376 1284s # End of split1 tests 1284s # Start of full-split1 tests 1284s ok 589 /regex/full-split1/374 1284s ok 590 /regex/full-split1/375 1284s ok 591 /regex/full-split1/377 1284s ok 592 /regex/full-split1/378 1284s ok 593 /regex/full-split1/404 1284s # End of full-split1 tests 1284s # Start of split2 tests 1284s ok 594 /regex/split2/379 1284s ok 595 /regex/split2/383 1284s ok 596 /regex/split2/395 1284s # End of split2 tests 1284s # Start of full-split2 tests 1284s ok 597 /regex/full-split2/380 1284s ok 598 /regex/full-split2/381 1284s ok 599 /regex/full-split2/382 1284s ok 600 /regex/full-split2/384 1284s ok 601 /regex/full-split2/396 1284s ok 602 /regex/full-split2/399 1284s ok 603 /regex/full-split2/405 1284s # End of full-split2 tests 1284s # Start of split3 tests 1284s ok 604 /regex/split3/385 1284s ok 605 /regex/split3/387 1284s ok 606 /regex/split3/389 1284s ok 607 /regex/split3/391 1284s ok 608 /regex/split3/393 1284s ok 609 /regex/split3/397 1284s ok 610 /regex/split3/400 1284s ok 611 /regex/split3/402 1284s # End of split3 tests 1284s # Start of full-split3 tests 1284s ok 612 /regex/full-split3/386 1284s ok 613 /regex/full-split3/388 1284s ok 614 /regex/full-split3/390 1284s ok 615 /regex/full-split3/392 1284s ok 616 /regex/full-split3/394 1284s ok 617 /regex/full-split3/398 1284s ok 618 /regex/full-split3/401 1284s ok 619 /regex/full-split3/403 1284s ok 620 /regex/full-split3/406 1284s ok 621 /regex/full-split3/407 1284s # End of full-split3 tests 1284s # Start of check-repacement tests 1284s ok 622 /regex/check-repacement/408 1284s ok 623 /regex/check-repacement/409 1284s ok 624 /regex/check-repacement/410 1284s ok 625 /regex/check-repacement/411 1284s ok 626 /regex/check-repacement/412 1284s ok 627 /regex/check-repacement/413 1284s ok 628 /regex/check-repacement/414 1284s ok 629 /regex/check-repacement/415 1284s # End of check-repacement tests 1284s # Start of expand tests 1284s ok 630 /regex/expand/416 1284s ok 631 /regex/expand/417 1284s ok 632 /regex/expand/418 1284s ok 633 /regex/expand/419 1284s ok 634 /regex/expand/420 1284s ok 635 /regex/expand/421 1284s ok 636 /regex/expand/422 1284s ok 637 /regex/expand/423 1284s ok 638 /regex/expand/424 1284s ok 639 /regex/expand/425 1284s ok 640 /regex/expand/426 1284s ok 641 /regex/expand/427 1284s ok 642 /regex/expand/428 1284s ok 643 /regex/expand/429 1284s ok 644 /regex/expand/430 1284s ok 645 /regex/expand/431 1284s ok 646 /regex/expand/432 1284s ok 647 /regex/expand/433 1284s ok 648 /regex/expand/434 1284s ok 649 /regex/expand/435 1284s ok 650 /regex/expand/436 1284s ok 651 /regex/expand/437 1284s ok 652 /regex/expand/438 1284s ok 653 /regex/expand/439 1284s ok 654 /regex/expand/440 1284s ok 655 /regex/expand/441 1284s ok 656 /regex/expand/442 1284s ok 657 /regex/expand/443 1284s ok 658 /regex/expand/444 1284s ok 659 /regex/expand/445 1284s ok 660 /regex/expand/446 1284s ok 661 /regex/expand/447 1284s ok 662 /regex/expand/448 1284s ok 663 /regex/expand/449 1284s ok 664 /regex/expand/450 1284s ok 665 /regex/expand/451 1284s ok 666 /regex/expand/452 1284s ok 667 /regex/expand/453 1284s ok 668 /regex/expand/454 1284s ok 669 /regex/expand/455 1284s ok 670 /regex/expand/456 1284s ok 671 /regex/expand/457 1284s ok 672 /regex/expand/458 1284s ok 673 /regex/expand/459 1284s ok 674 /regex/expand/460 1284s ok 675 /regex/expand/461 1284s ok 676 /regex/expand/462 1284s ok 677 /regex/expand/463 1284s ok 678 /regex/expand/464 1284s ok 679 /regex/expand/465 1284s ok 680 /regex/expand/466 1284s ok 681 /regex/expand/467 1284s ok 682 /regex/expand/468 1284s ok 683 /regex/expand/469 1284s ok 684 /regex/expand/470 1284s ok 685 /regex/expand/471 1284s ok 686 /regex/expand/472 1284s ok 687 /regex/expand/473 1284s ok 688 /regex/expand/474 1284s ok 689 /regex/expand/475 1284s ok 690 /regex/expand/476 1284s ok 691 /regex/expand/477 1284s ok 692 /regex/expand/478 1284s ok 693 /regex/expand/479 1284s ok 694 /regex/expand/480 1284s ok 695 /regex/expand/481 1284s # End of expand tests 1284s # Start of replace tests 1284s ok 696 /regex/replace/482 1284s ok 697 /regex/replace/483 1284s ok 698 /regex/replace/484 1284s ok 699 /regex/replace/485 1284s ok 700 /regex/replace/486 1284s ok 701 /regex/replace/487 1284s ok 702 /regex/replace/488 1284s ok 703 /regex/replace/489 1284s ok 704 /regex/replace/490 1284s ok 705 /regex/replace/491 1284s ok 706 /regex/replace/492 1284s ok 707 /regex/replace/493 1284s ok 708 /regex/replace/494 1284s ok 709 /regex/replace/495 1284s ok 710 /regex/replace/496 1284s ok 711 /regex/replace/497 1284s ok 712 /regex/replace/498 1284s ok 713 /regex/replace/499 1284s ok 714 /regex/replace/500 1284s ok 715 /regex/replace/501 1284s ok 716 /regex/replace/502 1284s ok 717 /regex/replace/503 1284s ok 718 /regex/replace/504 1284s ok 719 /regex/replace/505 1284s ok 720 /regex/replace/506 1284s ok 721 /regex/replace/507 1284s ok 722 /regex/replace/508 1284s ok 723 /regex/replace/509 1284s # End of replace tests 1284s # Start of replace-optimized tests 1284s ok 724 /regex/replace-optimized/482 1284s ok 725 /regex/replace-optimized/483 1284s ok 726 /regex/replace-optimized/484 1284s ok 727 /regex/replace-optimized/485 1284s ok 728 /regex/replace-optimized/486 1284s ok 729 /regex/replace-optimized/487 1284s ok 730 /regex/replace-optimized/488 1284s ok 731 /regex/replace-optimized/489 1284s ok 732 /regex/replace-optimized/490 1284s ok 733 /regex/replace-optimized/491 1284s ok 734 /regex/replace-optimized/492 1284s ok 735 /regex/replace-optimized/493 1284s ok 736 /regex/replace-optimized/494 1284s ok 737 /regex/replace-optimized/495 1284s ok 738 /regex/replace-optimized/496 1284s ok 739 /regex/replace-optimized/497 1284s ok 740 /regex/replace-optimized/498 1284s ok 741 /regex/replace-optimized/499 1284s ok 742 /regex/replace-optimized/500 1284s ok 743 /regex/replace-optimized/501 1284s ok 744 /regex/replace-optimized/502 1284s ok 745 /regex/replace-optimized/503 1284s ok 746 /regex/replace-optimized/504 1284s ok 747 /regex/replace-optimized/505 1284s ok 748 /regex/replace-optimized/506 1284s ok 749 /regex/replace-optimized/507 1284s ok 750 /regex/replace-optimized/508 1284s ok 751 /regex/replace-optimized/509 1284s # End of replace-optimized tests 1284s # Start of replace-literally tests 1284s ok 752 /regex/replace-literally/510 1284s ok 753 /regex/replace-literally/511 1284s ok 754 /regex/replace-literally/512 1284s ok 755 /regex/replace-literally/513 1284s ok 756 /regex/replace-literally/514 1284s ok 757 /regex/replace-literally/515 1284s ok 758 /regex/replace-literally/516 1284s ok 759 /regex/replace-literally/517 1284s ok 760 /regex/replace-literally/518 1284s ok 761 /regex/replace-literally/519 1284s ok 762 /regex/replace-literally/520 1284s ok 763 /regex/replace-literally/521 1284s ok 764 /regex/replace-literally/522 1284s ok 765 /regex/replace-literally/523 1284s ok 766 /regex/replace-literally/524 1284s ok 767 /regex/replace-literally/525 1284s ok 768 /regex/replace-literally/526 1284s ok 769 /regex/replace-literally/527 1284s ok 770 /regex/replace-literally/528 1284s ok 771 /regex/replace-literally/529 1284s # End of replace-literally tests 1284s # Start of string-number tests 1284s ok 772 /regex/string-number/530 1284s ok 773 /regex/string-number/531 1284s ok 774 /regex/string-number/532 1284s ok 775 /regex/string-number/533 1284s ok 776 /regex/string-number/534 1284s ok 777 /regex/string-number/535 1284s ok 778 /regex/string-number/536 1284s ok 779 /regex/string-number/537 1284s ok 780 /regex/string-number/538 1284s ok 781 /regex/string-number/539 1284s ok 782 /regex/string-number/540 1284s ok 783 /regex/string-number/541 1284s ok 784 /regex/string-number/542 1284s ok 785 /regex/string-number/543 1284s ok 786 /regex/string-number/544 1284s # End of string-number tests 1284s # Start of escape_nul tests 1284s ok 787 /regex/escape_nul/545 1284s ok 788 /regex/escape_nul/546 1284s ok 789 /regex/escape_nul/547 1284s ok 790 /regex/escape_nul/548 1284s ok 791 /regex/escape_nul/549 1284s ok 792 /regex/escape_nul/550 1284s ok 793 /regex/escape_nul/551 1284s ok 794 /regex/escape_nul/552 1284s ok 795 /regex/escape_nul/553 1284s ok 796 /regex/escape_nul/554 1284s ok 797 /regex/escape_nul/555 1284s ok 798 /regex/escape_nul/556 1284s ok 799 /regex/escape_nul/557 1284s ok 800 /regex/escape_nul/558 1284s ok 801 /regex/escape_nul/559 1284s # End of escape_nul tests 1284s # Start of escape tests 1284s ok 802 /regex/escape/560 1284s ok 803 /regex/escape/561 1284s ok 804 /regex/escape/562 1284s ok 805 /regex/escape/563 1284s ok 806 /regex/escape/564 1284s ok 807 /regex/escape/565 1284s ok 808 /regex/escape/566 1284s ok 809 /regex/escape/567 1284s ok 810 /regex/escape/568 1284s ok 811 /regex/escape/569 1284s ok 812 /regex/escape/570 1284s ok 813 /regex/escape/571 1284s ok 814 /regex/escape/572 1284s ok 815 /regex/escape/573 1284s ok 816 /regex/escape/574 1284s ok 817 /regex/escape/575 1284s ok 818 /regex/escape/576 1284s ok 819 /regex/escape/577 1284s # End of escape tests 1284s # Start of match-all0 tests 1284s ok 820 /regex/match-all0/578 1284s ok 821 /regex/match-all0/580 1284s # End of match-all0 tests 1284s # Start of match-all-full0 tests 1284s ok 822 /regex/match-all-full0/579 1284s ok 823 /regex/match-all-full0/581 1284s ok 824 /regex/match-all-full0/582 1284s ok 825 /regex/match-all-full0/583 1284s # End of match-all-full0 tests 1284s # Start of match-all1 tests 1284s ok 826 /regex/match-all1/584 1284s ok 827 /regex/match-all1/586 1284s ok 828 /regex/match-all1/591 1284s # End of match-all1 tests 1284s # Start of match-all-full1 tests 1284s ok 829 /regex/match-all-full1/585 1284s ok 830 /regex/match-all-full1/587 1284s ok 831 /regex/match-all-full1/588 1284s ok 832 /regex/match-all-full1/589 1284s ok 833 /regex/match-all-full1/590 1284s ok 834 /regex/match-all-full1/592 1284s # End of match-all-full1 tests 1284s # Start of match-all2 tests 1284s ok 835 /regex/match-all2/593 1284s ok 836 /regex/match-all2/595 1284s ok 837 /regex/match-all2/597 1284s # End of match-all2 tests 1284s # Start of match-all-full2 tests 1284s ok 838 /regex/match-all-full2/594 1284s ok 839 /regex/match-all-full2/596 1284s ok 840 /regex/match-all-full2/598 1284s # End of match-all-full2 tests 1284s # Start of match-all3 tests 1284s ok 841 /regex/match-all3/599 1284s ok 842 /regex/match-all3/601 1284s # End of match-all3 tests 1284s # Start of match-all-full3 tests 1284s ok 843 /regex/match-all-full3/600 1284s ok 844 /regex/match-all-full3/602 1284s # End of match-all-full3 tests 1284s # Start of match-notempty tests 1284s ok 845 /regex/match-notempty/603 1284s # End of match-notempty tests 1284s # Start of match-notempty-optimized tests 1284s ok 846 /regex/match-notempty-optimized/603 1284s # End of match-notempty-optimized tests 1284s # Start of match-notempty-atstart tests 1284s ok 847 /regex/match-notempty-atstart/604 1284s # End of match-notempty-atstart tests 1284s # Start of match-notempty-atstart-optimized tests 1284s ok 848 /regex/match-notempty-atstart-optimized/604 1284s # End of match-notempty-atstart-optimized tests 1284s # End of regex tests 1284s ok - glib/regex.test 1284s # Running test: glib/unicode.test 1284s TAP version 14 1284s # random seed: R02S5d010bee05e66ee9d9a9fd747cc1cb27 1284s 1..39 1284s # Start of unicode tests 1284s ok 1 /unicode/alnum 1284s ok 2 /unicode/alpha 1284s ok 3 /unicode/break-type 1284s ok 4 /unicode/canonical-decomposition 1284s ok 5 /unicode/casefold 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s # Cannot set locale to lt_LT, skipping 1284s ok 6 /unicode/casemap_and_casefold 1284s ok 7 /unicode/cases 1284s ok 8 /unicode/character-type 1284s ok 9 /unicode/cntrl 1284s ok 10 /unicode/combining-class 1284s ok 11 /unicode/compose 1284s ok 12 /unicode/decompose 1284s ok 13 /unicode/decompose-tail 1284s ok 14 /unicode/defined 1284s ok 15 /unicode/digit 1284s ok 16 /unicode/digit-value 1284s ok 17 /unicode/fully-decompose-canonical 1284s ok 18 /unicode/fully-decompose-len 1284s ok 19 /unicode/normalization 1284s ok 20 /unicode/graph 1284s # Testing script Zyyy (code 1517910393) 1284s # Testing script Zinh (code 1516858984) 1284s # Testing script Zmth (code 1517122664) 1284s # Testing script Arab (code 1098015074) 1284s # Testing script Armn (code 1098018158) 1284s # Testing script Beng (code 1113943655) 1284s # Testing script Bopo (code 1114599535) 1284s # Testing script Cher (code 1130915186) 1284s # Testing script Copt (code 1131376756) 1284s # Testing script Cyrl (code 1132032620) 1284s # Testing script Dsrt (code 1148416628) 1284s # Testing script Deva (code 1147500129) 1284s # Testing script Ethi (code 1165256809) 1284s # Testing script Geor (code 1197830002) 1284s # Testing script Goth (code 1198486632) 1284s # Testing script Grek (code 1198679403) 1284s # Testing script Gujr (code 1198877298) 1284s # Testing script Guru (code 1198879349) 1284s # Testing script Hani (code 1214344809) 1284s # Testing script Hang (code 1214344807) 1284s # Testing script Hebr (code 1214603890) 1284s # Testing script Hira (code 1214870113) 1284s # Testing script Knda (code 1265525857) 1284s # Testing script Kana (code 1264676449) 1284s # Testing script Khmr (code 1265134962) 1284s # Testing script Laoo (code 1281453935) 1284s # Testing script Latn (code 1281455214) 1284s # Testing script Mlym (code 1298954605) 1284s # Testing script Mong (code 1299148391) 1284s # Testing script Mymr (code 1299803506) 1284s # Testing script Ogam (code 1332175213) 1284s # Testing script Ital (code 1232363884) 1284s # Testing script Orya (code 1332902241) 1284s # Testing script Runr (code 1383427698) 1284s # Testing script Sinh (code 1399418472) 1284s # Testing script Syrc (code 1400468067) 1284s # Testing script Taml (code 1415671148) 1284s # Testing script Telu (code 1415933045) 1284s # Testing script Thaa (code 1416126817) 1284s # Testing script Thai (code 1416126825) 1284s # Testing script Tibt (code 1416192628) 1284s # Testing script Cans (code 1130458739) 1284s # Testing script Yiii (code 1500080489) 1284s # Testing script Tglg (code 1416064103) 1284s # Testing script Hano (code 1214344815) 1284s # Testing script Buhd (code 1114990692) 1284s # Testing script Tagb (code 1415669602) 1284s # Testing script Brai (code 1114792297) 1284s # Testing script Cprt (code 1131442804) 1284s # Testing script Limb (code 1281977698) 1284s # Testing script Osma (code 1332964705) 1284s # Testing script Shaw (code 1399349623) 1284s # Testing script Linb (code 1281977954) 1284s # Testing script Tale (code 1415670885) 1284s # Testing script Ugar (code 1432838514) 1284s # Testing script Talu (code 1415670901) 1284s # Testing script Bugi (code 1114990441) 1284s # Testing script Glag (code 1198285159) 1284s # Testing script Tfng (code 1415999079) 1284s # Testing script Sylo (code 1400466543) 1284s # Testing script Xpeo (code 1483761007) 1284s # Testing script Khar (code 1265131890) 1284s # Testing script Zzzz (code 1517976186) 1284s # Testing script Bali (code 1113681001) 1284s # Testing script Xsux (code 1483961720) 1284s # Testing script Phnx (code 1349021304) 1284s # Testing script Phag (code 1349017959) 1284s # Testing script Nkoo (code 1315663727) 1284s # Testing script Kali (code 1264675945) 1284s # Testing script Lepc (code 1281716323) 1284s # Testing script Rjng (code 1382706791) 1284s # Testing script Sund (code 1400204900) 1284s # Testing script Saur (code 1398895986) 1284s # Testing script Cham (code 1130914157) 1284s # Testing script Olck (code 1332503403) 1284s # Testing script Vaii (code 1449224553) 1284s # Testing script Cari (code 1130459753) 1284s # Testing script Lyci (code 1283023721) 1284s # Testing script Lydi (code 1283023977) 1284s # Testing script Avst (code 1098281844) 1284s # Testing script Bamu (code 1113681269) 1284s # Testing script Egyp (code 1164409200) 1284s # Testing script Armi (code 1098018153) 1284s # Testing script Phli (code 1349020777) 1284s # Testing script Prti (code 1349678185) 1284s # Testing script Java (code 1247901281) 1284s # Testing script Kthi (code 1265920105) 1284s # Testing script Lisu (code 1281979253) 1284s # Testing script Mtei (code 1299473769) 1284s # Testing script Sarb (code 1398895202) 1284s # Testing script Orkh (code 1332898664) 1284s # Testing script Samr (code 1398893938) 1284s # Testing script Lana (code 1281453665) 1284s # Testing script Tavt (code 1415673460) 1284s # Testing script Batk (code 1113683051) 1284s # Testing script Brah (code 1114792296) 1284s # Testing script Mand (code 1298230884) 1284s # Testing script Cakm (code 1130457965) 1284s # Testing script Merc (code 1298494051) 1284s # Testing script Mero (code 1298494063) 1284s # Testing script Plrd (code 1349284452) 1284s # Testing script Shrd (code 1399353956) 1284s # Testing script Sora (code 1399812705) 1284s # Testing script Takr (code 1415670642) 1284s # Testing script Bass (code 1113682803) 1284s # Testing script Aghb (code 1097295970) 1284s # Testing script Dupl (code 1148547180) 1284s # Testing script Elba (code 1164730977) 1284s # Testing script Gran (code 1198678382) 1284s # Testing script Khoj (code 1265135466) 1284s # Testing script Sind (code 1399418468) 1284s # Testing script Lina (code 1281977953) 1284s # Testing script Mahj (code 1298229354) 1284s # Testing script Mani (code 1298230889) 1284s # Testing script Mend (code 1298493028) 1284s # Testing script Modi (code 1299145833) 1284s # Testing script Mroo (code 1299345263) 1284s # Testing script Nbat (code 1315070324) 1284s # Testing script Narb (code 1315009122) 1284s # Testing script Perm (code 1348825709) 1284s # Testing script Hmng (code 1215131239) 1284s # Testing script Palm (code 1348562029) 1284s # Testing script Pauc (code 1348564323) 1284s # Testing script Phlp (code 1349020784) 1284s # Testing script Sidd (code 1399415908) 1284s # Testing script Tirh (code 1416196712) 1284s # Testing script Wara (code 1466004065) 1284s # Testing script Ahom (code 1097363309) 1284s # Testing script Hluw (code 1215067511) 1284s # Testing script Hatr (code 1214346354) 1284s # Testing script Mult (code 1299541108) 1284s # Testing script Hung (code 1215655527) 1284s # Testing script Sgnw (code 1399287415) 1284s # Testing script Adlm (code 1097100397) 1284s # Testing script Bhks (code 1114139507) 1284s # Testing script Marc (code 1298231907) 1284s # Testing script Newa (code 1315272545) 1284s # Testing script Osge (code 1332963173) 1284s # Testing script Tang (code 1415671399) 1284s # Testing script Gonm (code 1198485101) 1284s # Testing script Nshu (code 1316186229) 1284s # Testing script Soyo (code 1399814511) 1284s # Testing script Zanb (code 1516334690) 1284s # Testing script Dogr (code 1148151666) 1284s # Testing script Gong (code 1198485095) 1284s # Testing script Rohg (code 1383032935) 1284s # Testing script Maka (code 1298230113) 1284s # Testing script Medf (code 1298490470) 1284s # Testing script Sogo (code 1399809903) 1284s # Testing script Sogd (code 1399809892) 1284s # Testing script Elym (code 1164736877) 1284s # Testing script Nand (code 1315008100) 1284s # Testing script Hmnp (code 1215131248) 1284s # Testing script Wcho (code 1466132591) 1284s # Testing script Chrs (code 1130918515) 1284s # Testing script Diak (code 1147756907) 1284s # Testing script Kits (code 1265202291) 1284s # Testing script Yezi (code 1499822697) 1284s # Testing script Cpmn (code 1131441518) 1284s # Testing script Ougr (code 1333094258) 1284s # Testing script Tnsa (code 1416524641) 1284s # Testing script Toto (code 1416590447) 1284s # Testing script Vith (code 1449751656) 1284s # Testing script Kawi (code 1264678761) 1284s # Testing script Nagm (code 1315006317) 1284s ok 21 /unicode/iso15924 1284s ok 22 /unicode/lower 1284s ok 23 /unicode/mark 1284s ok 24 /unicode/mirror 1284s ok 25 /unicode/print 1284s ok 26 /unicode/punctuation 1284s ok 27 /unicode/script 1284s ok 28 /unicode/space 1284s ok 29 /unicode/strdown 1284s ok 30 /unicode/strup 1284s ok 31 /unicode/turkish-strupdown 1284s ok 32 /unicode/title 1284s ok 33 /unicode/upper 1284s ok 34 /unicode/validate 1284s ok 35 /unicode/wide 1284s ok 36 /unicode/xdigit 1284s ok 37 /unicode/xdigit-value 1284s ok 38 /unicode/zero-width 1284s ok 39 /unicode/normalize 1284s # End of unicode tests 1284s ok - glib/unicode.test 1284s # Running test: glib/contenttype.test 1284s TAP version 14 1284s # random seed: R02S91654734245d5b3435b20f60422fe36c 1284s 1..13 1284s # Start of contenttype tests 1284s ok 1 /contenttype/guess 1284s ok 2 /contenttype/guess_svg_from_data 1284s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1284s ok 4 /contenttype/unknown 1284s ok 5 /contenttype/subtype 1284s ok 6 /contenttype/list 1284s ok 7 /contenttype/executable 1284s ok 8 /contenttype/description 1284s ok 9 /contenttype/icon 1284s ok 10 /contenttype/symbolic-icon 1284s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1284s ok 11 /contenttype/tree 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1284s ok 12 /contenttype/tree_invalid_encoding 1284s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1284s ok 13 /contenttype/test_type_is_a_special_case 1284s # End of contenttype tests 1284s ok - glib/contenttype.test 1284s # Running test: glib/cxx-11.test 1284s TAP version 14 1284s # random seed: R02S2955b3f575f0fdefe23a43e66bed07da 1284s 1..2 1284s # Start of gtask tests 1284s # 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. 1284s ok 1 /gtask/name 1284s # Start of name tests 1284s # 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. 1284s ok 2 /gtask/name/macro-wrapper 1284s # End of name tests 1284s # End of gtask tests 1284s ok - glib/cxx-11.test 1284s # Running test: glib/markup.test 1284s TAP version 14 1284s # random seed: R02S874eb085800b8e6954c74d1c87c32177 1284s 1..1 1284s # Start of markup tests 1284s ok 1 /markup/stack 1284s # End of markup tests 1284s ok - glib/markup.test 1284s # Running test: glib/guuid.test 1284s TAP version 14 1284s # random seed: R02S481a415ff0062b3499fb714df8406e07 1284s 1..2 1284s # Start of uuid tests 1284s ok 1 /uuid/string 1284s ok 2 /uuid/random 1284s # End of uuid tests 1284s ok - glib/guuid.test 1284s # Running test: glib/gdbus-names.test 1284s TAP version 14 1284s # random seed: R02S40711d4ae6bba45ef0be646894a6bf06 1284s 1..10 1284s # Start of gdbus tests 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/validate-names/.dirs/runtime 1284s ok 1 /gdbus/validate-names 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-own-name/.dirs/runtime 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1284s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s ok 2 /gdbus/bus-own-name 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name/.dirs/runtime 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1284s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s ok 3 /gdbus/bus-watch-name 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1284s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s ok 4 /gdbus/bus-watch-name-auto-start 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1284s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1284s dbus-daemon[6323]: [session uid=1000 pid=6323] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=6314 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1284s # Acquired a message bus connection 1284s dbus-daemon[6323]: [session uid=1000 pid=6323] Successfully activated service 'org.gtk.GDBus.FakeService' 1284s # Acquired the name org.gtk.GDBus.FakeService 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures/.dirs/runtime 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1284s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s ok 6 /gdbus/bus-watch-name-closures 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1284s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s ok 7 /gdbus/bus-watch-name-closures-auto-start 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-watch-different-context/.dirs/runtime 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1284s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s ok 8 /gdbus/bus-watch-different-context 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/bus-unwatch-early/.dirs/runtime 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1284s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s ok 9 /gdbus/bus-unwatch-early 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BVZ0Z2/gdbus/escape-object-path/.dirs/runtime 1284s ok 10 /gdbus/escape-object-path 1284s # End of gdbus tests 1284s ok - glib/gdbus-names.test 1284s # Running test: glib/gdbus-auth.test 1284s TAP version 14 1284s # random seed: R02S88dd1c9360ec26e8d94f89533fdebcb7 1284s 1..5 1284s # Start of gdbus tests 1284s # Start of auth tests 1284s # Start of client tests 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1284s ok 1 /gdbus/auth/client/EXTERNAL 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1284s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1284s # End of client tests 1284s # Start of server tests 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1284s ok 3 /gdbus/auth/server/ANONYMOUS 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1284s ok 4 /gdbus/auth/server/EXTERNAL 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_4F02Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1284s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1284s # End of server tests 1284s # End of auth tests 1284s # End of gdbus tests 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1284s ok - glib/gdbus-auth.test 1284s # Running test: glib/signals-refcount1.test 1284s TAP version 14 1284s # random seed: R02S4a40f8c052e965aedc9c510f4d04f6ad 1284s 1..1 1284s # Start of gobject tests 1284s # Start of refcount tests 1284s # init 0xb1afbfaf1430 1284s # 1284s # init 0xb1afbfaf15d0 1284s # 1288s # Executing: glib/signals-refcount1.test 1289s # dispose 0xb1afbfaf1430! 1289s # 1289s # dispose 0xb1afbfaf15d0! 1289s # 1289s ok 1 /gobject/refcount/signals 1289s # slow test /gobject/refcount/signals executed in 5.00 secs 1289s # End of refcount tests 1289s # End of gobject tests 1289s ok - glib/signals-refcount1.test 1289s # Running test: glib/reference.test 1289s TAP version 14 1289s # random seed: R02Sb46bff60db1a8230057a828d6dff9e97 1289s 1..29 1289s # Start of type tests 1289s ok 1 /type/fundamentals 1289s ok 2 /type/qdata 1289s ok 3 /type/query 1289s ok 4 /type/class-private 1289s # End of type tests 1289s # Start of object tests 1289s ok 5 /object/clear 1289s ok 6 /object/clear-function 1289s ok 7 /object/set 1289s ok 8 /object/set-function 1289s ok 9 /object/value 1289s ok 10 /object/initially-unowned 1289s ok 11 /object/weak-pointer 1289s ok 12 /object/weak-ref 1289s ok 13 /object/toggle-ref 1289s ok 14 /object/qdata 1289s ok 15 /object/qdata2 1289s # Start of set tests 1289s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1289s ok 16 /object/set/derived-type 1289s # End of set tests 1289s # Start of weak-pointer tests 1289s ok 17 /object/weak-pointer/clear 1289s ok 18 /object/weak-pointer/clear-function 1289s ok 19 /object/weak-pointer/set 1289s ok 20 /object/weak-pointer/set-function 1289s # End of weak-pointer tests 1289s # Start of weak-ref tests 1289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1289s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1289s ok 21 /object/weak-ref/on-dispose 1289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1289s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1289s ok 22 /object/weak-ref/on-run-dispose 1289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1289s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1289s ok 23 /object/weak-ref/on-toggle-notify 1289s ok 24 /object/weak-ref/in-toggle-notify 1289s ok 25 /object/weak-ref/many 1289s # Start of concurrent tests 1289s ok 26 /object/weak-ref/concurrent/0 1289s ok 27 /object/weak-ref/concurrent/1 1289s # End of concurrent tests 1289s # End of weak-ref tests 1289s # Start of toggle-ref tests 1289s ok 28 /object/toggle-ref/ref-on-dispose 1289s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1289s # End of toggle-ref tests 1289s # End of object tests 1289s ok - glib/reference.test 1289s # Running test: glib/pattern.test 1289s TAP version 14 1289s # random seed: R02S7e30dfc22a4de5b6cbf68cc579cc89ba 1289s 1..90 1289s # Start of pattern tests 1289s # Start of compile tests 1289s ok 1 /pattern/compile/0 1289s ok 2 /pattern/compile/1 1289s ok 3 /pattern/compile/2 1289s ok 4 /pattern/compile/3 1289s ok 5 /pattern/compile/4 1289s ok 6 /pattern/compile/5 1289s ok 7 /pattern/compile/6 1289s ok 8 /pattern/compile/7 1289s ok 9 /pattern/compile/8 1289s ok 10 /pattern/compile/9 1289s ok 11 /pattern/compile/10 1289s ok 12 /pattern/compile/11 1289s ok 13 /pattern/compile/12 1289s ok 14 /pattern/compile/13 1289s # End of compile tests 1289s # Start of copy tests 1289s ok 15 /pattern/copy/0 1289s ok 16 /pattern/copy/1 1289s ok 17 /pattern/copy/2 1289s ok 18 /pattern/copy/3 1289s ok 19 /pattern/copy/4 1289s ok 20 /pattern/copy/5 1289s ok 21 /pattern/copy/6 1289s ok 22 /pattern/copy/7 1289s ok 23 /pattern/copy/8 1289s ok 24 /pattern/copy/9 1289s ok 25 /pattern/copy/10 1289s ok 26 /pattern/copy/11 1289s ok 27 /pattern/copy/12 1289s ok 28 /pattern/copy/13 1289s # End of copy tests 1289s # Start of match tests 1289s ok 29 /pattern/match/0 1289s ok 30 /pattern/match/1 1289s ok 31 /pattern/match/2 1289s ok 32 /pattern/match/3 1289s ok 33 /pattern/match/4 1289s ok 34 /pattern/match/5 1289s ok 35 /pattern/match/6 1289s ok 36 /pattern/match/7 1289s ok 37 /pattern/match/8 1289s ok 38 /pattern/match/9 1289s ok 39 /pattern/match/10 1289s ok 40 /pattern/match/11 1289s ok 41 /pattern/match/12 1289s ok 42 /pattern/match/13 1289s ok 43 /pattern/match/14 1289s ok 44 /pattern/match/15 1289s ok 45 /pattern/match/16 1289s ok 46 /pattern/match/17 1289s ok 47 /pattern/match/18 1289s ok 48 /pattern/match/19 1289s ok 49 /pattern/match/20 1289s ok 50 /pattern/match/21 1289s ok 51 /pattern/match/22 1289s ok 52 /pattern/match/23 1289s ok 53 /pattern/match/24 1289s ok 54 /pattern/match/25 1289s ok 55 /pattern/match/26 1289s ok 56 /pattern/match/27 1289s ok 57 /pattern/match/28 1289s ok 58 /pattern/match/29 1289s ok 59 /pattern/match/30 1289s ok 60 /pattern/match/31 1289s ok 61 /pattern/match/32 1289s ok 62 /pattern/match/33 1289s ok 63 /pattern/match/34 1289s ok 64 /pattern/match/35 1289s ok 65 /pattern/match/36 1289s ok 66 /pattern/match/37 1289s ok 67 /pattern/match/38 1289s ok 68 /pattern/match/39 1289s ok 69 /pattern/match/40 1289s ok 70 /pattern/match/41 1289s ok 71 /pattern/match/42 1289s ok 72 /pattern/match/43 1289s ok 73 /pattern/match/44 1289s ok 74 /pattern/match/45 1289s ok 75 /pattern/match/46 1289s ok 76 /pattern/match/47 1289s ok 77 /pattern/match/48 1289s ok 78 /pattern/match/49 1289s ok 79 /pattern/match/50 1289s # End of match tests 1289s # Start of equal tests 1289s ok 80 /pattern/equal/0 1289s ok 81 /pattern/equal/1 1289s ok 82 /pattern/equal/2 1289s ok 83 /pattern/equal/3 1289s ok 84 /pattern/equal/4 1289s ok 85 /pattern/equal/5 1289s ok 86 /pattern/equal/6 1289s ok 87 /pattern/equal/7 1289s ok 88 /pattern/equal/8 1289s ok 89 /pattern/equal/9 1289s ok 90 /pattern/equal/10 1289s # End of equal tests 1289s # End of pattern tests 1289s ok - glib/pattern.test 1289s # Running test: glib/power-profile-monitor-dbus.test 1290s TAP version 13 1290s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1290s 1..1 1290s ok - glib/power-profile-monitor-dbus.test 1290s # Running test: glib/refstring.test 1290s TAP version 14 1290s # random seed: R02S4cb4dead02c21e313a08b8954ff63ce4 1290s 1..6 1290s # Start of refstring tests 1290s # s = 'hello, world' (0xb2d7590d23b0) 1290s ok 1 /refstring/base 1290s ok 2 /refstring/length 1290s ok 3 /refstring/length-auto 1290s ok 4 /refstring/length-nuls 1290s # s = 'hello, world' (0xb2d7590d2300) 1290s # p = s = 'hello, world' (0xb2d7590d2300) 1290s # releasing p[0xb2d7590d2300] ('hello, world') 1290s # p = 'goodbye, world' (0xb2d7590d23b0) 1290s # releasing p[0xb2d7590d23b0] ('goodbye, world') 1290s # releasing s[0xb2d7590d2300] ('hello, world') 1290s ok 5 /refstring/intern 1290s ok 6 /refstring/intern-thread-safety 1290s # slow test /refstring/intern-thread-safety executed in 0.69 secs 1290s # End of refstring tests 1290s ok - glib/refstring.test 1290s # Running test: glib/markup-escape.test 1290s TAP version 14 1290s # random seed: R02Se9a3af820f83d1a1e4bb5e53bd33f09c 1290s 1..41 1290s # Start of markup tests 1290s ok 1 /markup/format 1290s # Start of escape-text tests 1290s ok 2 /markup/escape-text/0 1290s ok 3 /markup/escape-text/1 1290s ok 4 /markup/escape-text/2 1290s ok 5 /markup/escape-text/3 1290s ok 6 /markup/escape-text/4 1290s ok 7 /markup/escape-text/5 1290s ok 8 /markup/escape-text/6 1290s ok 9 /markup/escape-text/7 1290s ok 10 /markup/escape-text/8 1290s ok 11 /markup/escape-text/9 1290s ok 12 /markup/escape-text/10 1290s ok 13 /markup/escape-text/11 1290s ok 14 /markup/escape-text/12 1290s ok 15 /markup/escape-text/13 1290s ok 16 /markup/escape-text/14 1290s ok 17 /markup/escape-text/15 1290s ok 18 /markup/escape-text/16 1290s ok 19 /markup/escape-text/17 1290s ok 20 /markup/escape-text/18 1290s ok 21 /markup/escape-text/19 1290s ok 22 /markup/escape-text/20 1290s ok 23 /markup/escape-text/21 1290s ok 24 /markup/escape-text/22 1290s # End of escape-text tests 1290s # Start of escape-unichar tests 1290s ok 25 /markup/escape-unichar/0 1290s ok 26 /markup/escape-unichar/1 1290s ok 27 /markup/escape-unichar/2 1290s ok 28 /markup/escape-unichar/3 1290s ok 29 /markup/escape-unichar/4 1290s ok 30 /markup/escape-unichar/5 1290s ok 31 /markup/escape-unichar/6 1290s ok 32 /markup/escape-unichar/7 1290s ok 33 /markup/escape-unichar/8 1290s ok 34 /markup/escape-unichar/9 1290s ok 35 /markup/escape-unichar/10 1290s ok 36 /markup/escape-unichar/11 1290s ok 37 /markup/escape-unichar/12 1290s ok 38 /markup/escape-unichar/13 1290s ok 39 /markup/escape-unichar/14 1290s ok 40 /markup/escape-unichar/15 1290s ok 41 /markup/escape-unichar/16 1290s # End of escape-unichar tests 1290s # End of markup tests 1290s ok - glib/markup-escape.test 1290s # Running test: glib/charset.test 1290s TAP version 14 1290s # random seed: R02S19f2cb1cdc037a924a888e1c03cc8bcc 1290s 1..2 1290s # Start of charset tests 1290s # Test 0 1290s # Test 1 1290s # Test 2 1290s # Test 3 1290s ok 1 /charset/language_names_with_category 1290s ok 2 /charset/language_names_with_category_async 1290s # End of charset tests 1290s ok - glib/charset.test 1290s # Running test: glib/resources.test 1290s TAP version 14 1290s # random seed: R02S0adfb7f8557dad42a41cd48d640f7239 1290s 1..17 1290s # Start of resource tests 1290s ok 1 /resource/file 1290s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1290s ok 2 /resource/file-path 1290s ok 3 /resource/data 1290s ok 4 /resource/data_unaligned 1290s ok 5 /resource/data-corrupt 1290s ok 6 /resource/data-empty 1290s ok 7 /resource/registered 1290s ok 8 /resource/manual 1290s ok 9 /resource/manual2 1290s ok 10 /resource/automatic 1290s ok 11 /resource/module 1290s ok 12 /resource/binary-linked 1290s ok 13 /resource/64k 1290s GLib-GIO-Message: 16:40:28.787: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1290s ok 14 /resource/overlay 1290s ok 15 /resource/digits 1290s # Start of uri tests 1290s ok 16 /resource/uri/query-info 1290s ok 17 /resource/uri/file 1290s # End of uri tests 1290s # End of resource tests 1290s ok - glib/resources.test 1290s # Running test: glib/hmac.test 1290s TAP version 14 1290s # random seed: R02S4226c3ef371150b972afc340ace60f28 1290s 1..37 1290s # Start of hmac tests 1290s ok 1 /hmac/sha1-1 1290s ok 2 /hmac/sha1-2 1290s ok 3 /hmac/sha1-3 1290s ok 4 /hmac/sha1-4 1290s ok 5 /hmac/sha1-5 1290s ok 6 /hmac/sha1-6 1290s ok 7 /hmac/sha1-7 1290s ok 8 /hmac/sha256-1 1290s ok 9 /hmac/sha256-2 1290s ok 10 /hmac/sha256-3 1290s ok 11 /hmac/sha256-4 1290s ok 12 /hmac/sha256-5 1290s ok 13 /hmac/sha256-6 1290s ok 14 /hmac/sha384-1 1290s ok 15 /hmac/sha384-2 1290s ok 16 /hmac/sha384-3 1290s ok 17 /hmac/sha384-4 1290s ok 18 /hmac/sha384-5 1290s ok 19 /hmac/sha384-6 1290s ok 20 /hmac/sha512-1 1290s ok 21 /hmac/sha512-2 1290s ok 22 /hmac/sha512-3 1290s ok 23 /hmac/sha512-4 1290s ok 24 /hmac/sha512-5 1290s ok 25 /hmac/sha512-6 1290s ok 26 /hmac/md5-1 1290s ok 27 /hmac/md5-2 1290s ok 28 /hmac/md5-3 1290s ok 29 /hmac/md5-4 1290s ok 30 /hmac/md5-5 1290s ok 31 /hmac/md5-6 1290s ok 32 /hmac/md5-7 1290s ok 33 /hmac/ref-unref 1290s ok 34 /hmac/copy 1290s ok 35 /hmac/for-data 1290s ok 36 /hmac/for-string 1290s ok 37 /hmac/for-bytes 1290s # End of hmac tests 1290s ok - glib/hmac.test 1290s # Running test: glib/tree.test 1290s TAP version 14 1290s # random seed: R02Sed4b59b1b9140e981ff73349c4d3c6e5 1290s 1..7 1290s # Start of tree tests 1290s ok 1 /tree/search 1290s ok 2 /tree/remove 1290s ok 3 /tree/destroy 1290s ok 4 /tree/traverse 1290s ok 5 /tree/insert 1290s ok 6 /tree/bounds 1290s ok 7 /tree/remove-all 1290s # End of tree tests 1290s ok - glib/tree.test 1290s # Running test: glib/io-channel.test 1290s TAP version 14 1290s # random seed: R02Sb82b4de9a26b5220f7f59f48587664d5 1290s 1..2 1290s # Start of io-channel tests 1290s # Line one 1290s # 1290s # Line two 1290s # 1290s # Line three 1290s # 1290s # /* Hello */ 1290s # 1290s # \x1234\x567890\x6666 1290s # 1290s # read 62 bytes, wrote 62 bytes 1290s ok 1 /io-channel/read-write 1290s # Start of read-line tests 1290s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1290s ok 2 /io-channel/read-line/embedded-nuls 1290s # End of read-line tests 1290s # End of io-channel tests 1290s ok - glib/io-channel.test 1290s # Running test: glib/spawn-path-search.test 1290s TAP version 14 1290s # random seed: R02S294a2e06d397fa37c88b785c9f207a3d 1290s 1..7 1290s # Start of spawn tests 1290s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1290s # 1290s # this is spawn-test-helper from glib/tests 1290s # 1290s ok 1 /spawn/do-not-search 1290s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1290s # 1290s # this is spawn-test-helper from path-test-subdir 1290s # 1290s ok 2 /spawn/search-path 1290s # /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. 1290s # 1290s # this is spawn-test-helper from path-test-subdir 1290s # 1290s ok 3 /spawn/search-path-from-envp 1290s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1290s # 1290s # this is spawn-test-helper from path-test-subdir 1290s # 1290s ok 4 /spawn/search-path-ambiguous 1290s # 1290s # this is spawn-test-helper from path-test-subdir 1290s # 1290s ok 5 /spawn/search-path-heap-allocation 1290s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1290s # 1290s # this is spawn-test-helper from glib/tests 1290s # 1290s ok 6 /spawn/search-path-fallback-in-environ 1290s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1290s # 1290s # this is spawn-test-helper from glib/tests 1290s # 1290s ok 7 /spawn/search-path-fallback-in-envp 1290s # End of spawn tests 1290s ok - glib/spawn-path-search.test 1290s # Running test: glib/dump.test 1290s TAP version 14 1290s # random seed: R02S31ae79318f229ddad5932cc520ba2330 1290s 1..4 1290s # Start of dump tests 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_ENROZ2/dump/empty-file/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_ENROZ2/dump/empty-file/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_ENROZ2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_ENROZ2/dump/empty-file/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_ENROZ2/dump/empty-file/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_ENROZ2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_ENROZ2/dump/empty-file/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_ENROZ2/dump/empty-file/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_ENROZ2/dump/empty-file/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_ENROZ2/dump/empty-file/.dirs/runtime 1290s ok 1 /dump/empty-file 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_ENROZ2/dump/missing-get-type/.dirs/runtime 1290s Invalid GType function: 'does_not_exist_get_type' 1290s ok 2 /dump/missing-get-type 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_ENROZ2/dump/missing-quark/.dirs/runtime 1290s Invalid error quark function: 'does_not_exist_error' 1290s ok 3 /dump/missing-quark 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_ENROZ2/dump/basic/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_ENROZ2/dump/basic/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_ENROZ2/dump/basic/.dirs/system-config1:/tmp/test_dump_ENROZ2/dump/basic/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_ENROZ2/dump/basic/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_ENROZ2/dump/basic/.dirs/system-data1:/tmp/test_dump_ENROZ2/dump/basic/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_ENROZ2/dump/basic/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_ENROZ2/dump/basic/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_ENROZ2/dump/basic/.dirs/runtime 1290s ok 4 /dump/basic 1290s # End of dump tests 1290s ok - glib/dump.test 1290s # Running test: glib/utils-isolated.test 1290s TAP version 14 1290s # random seed: R02S35b13e2ff92de03da6e0fe7bfbb5b316 1290s 1..11 1290s # Start of utils-isolated tests 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/tmp-dir/.dirs/runtime 1290s ok 1 /utils-isolated/tmp-dir 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/home-dir/.dirs/runtime 1290s ok 2 /utils-isolated/home-dir 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-cache-dir/.dirs/runtime 1290s ok 3 /utils-isolated/user-cache-dir 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-config-dirs/.dirs/runtime 1290s ok 4 /utils-isolated/system-config-dirs 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-config-dir/.dirs/runtime 1290s ok 5 /utils-isolated/user-config-dir 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/system-data-dirs/.dirs/runtime 1290s ok 6 /utils-isolated/system-data-dirs 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-data-dir/.dirs/runtime 1290s ok 7 /utils-isolated/user-data-dir 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-state-dir/.dirs/runtime 1290s ok 8 /utils-isolated/user-state-dir 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/user-runtime-dir/.dirs/runtime 1290s ok 9 /utils-isolated/user-runtime-dir 1290s # Start of cleanup tests 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/runtime 1290s Unable to clean up temporary directory /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1290s Unable to clean up temporary directory /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1290s Unable to clean up temporary directory /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/handles-errors: Directory not empty 1290s ok 10 /utils-isolated/cleanup/handles-errors 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1290s Unable to clean up temporary directory /tmp/test_utils-isolated_IEXOZ2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1290s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1290s # End of cleanup tests 1290s # End of utils-isolated tests 1290s ok - glib/utils-isolated.test 1290s # Running test: glib/g-file.test 1290s TAP version 14 1290s # random seed: R02Sc608cf50e35d9f46472beccc3995b981 1290s 1..8 1290s # Start of g-file tests 1290s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1290s ok 1 /g-file/test_g_file_new_null 1290s ok 2 /g-file/test_g_file_new_for_path 1290s ok 3 /g-file/test_g_file_new_for_uri 1290s ok 4 /g-file/test_g_file_dup 1290s ok 5 /g-file/test_g_file_get_parse_name_utf8 1290s file:///tmp/test-tmp-glib_g-file.test-GS5OZ2 1290s file:///tmp 1290s file:///tmp 1290s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1290s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1290s ok 6 /g-file/test_g_file_new_for_commandline_arg 1290s /dir1 /dir1/dir2/dir3/ 1290s /dir1/ /dir1/dir2/dir3/ 1290s /dir1 /dir1/dir2/dir3 1290s /dir1/ /dir1/dir2/dir3 1290s /tmp/ /something/ 1290s /dir1/dir2 /dir1/ 1290s //dir1/new //dir1/new/dir2/dir3 1290s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1290s file:///dir1 file:///dir1/dir2/dir3/ 1290s file:///dir1/ file:///dir1/dir2/dir3/ 1290s file:///dir1 file:///dir1/dir2/dir3 1290s file:///dir1/ file:///dir1/dir2/dir3 1290s file:///tmp/ file:///something/ 1290s file:///dir1/dir2 file:///dir1/ 1290s file:////dir1/new file:////dir1/new/dir2/dir3 1290s 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 1290s ok 7 /g-file/test_g_file_has_prefix 1290s ok 8 /g-file/test_g_file_get_parent_child 1290s # End of g-file tests 1290s ok - glib/g-file.test 1290s # Running test: glib/io-channel-basic.test 1290s TAP version 14 1290s # random seed: R02S49e7affbd9dbabc0e3f3530cb1538f87 1290s 1..1 1290s # Start of gio tests 1290s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1290s # random seed: R02S3c7867a21d60f3287f6a792aacba41d0 1291s # GLib-DEBUG: io-channel-basic: child writing 8+357 bytes to 6 1291s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1291s # GLib-DEBUG: io-channel-basic: ...from 5: 357 bytes 1291s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1291s # GLib-DEBUG: io-channel-basic: child writing 8+1255 bytes to 6 1291s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1291s # GLib-DEBUG: io-channel-basic: ...from 5: 1255 bytes 1291s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1291s # GLib-DEBUG: io-channel-basic: child writing 8+4519 bytes to 6 1291s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1291s # GLib-DEBUG: io-channel-basic: ...from 5: 4519 bytes 1291s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1291s # GLib-DEBUG: io-channel-basic: child writing 8+3580 bytes to 6 1291s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1291s # GLib-DEBUG: io-channel-basic: ...from 5: 3580 bytes 1291s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1292s # GLib-DEBUG: io-channel-basic: child writing 8+73 bytes to 6 1292s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1292s # GLib-DEBUG: io-channel-basic: ...from 5: 73 bytes 1292s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1292s # GLib-DEBUG: io-channel-basic: child writing 8+4311 bytes to 6 1292s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1292s # GLib-DEBUG: io-channel-basic: ...from 5: 4311 bytes 1292s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1292s # GLib-DEBUG: io-channel-basic: child writing 8+4253 bytes to 6 1292s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1292s # GLib-DEBUG: io-channel-basic: ...from 5: 4253 bytes 1292s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1292s # GLib-DEBUG: io-channel-basic: child writing 8+3543 bytes to 6 1292s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1292s # GLib-DEBUG: io-channel-basic: ...from 5: 3543 bytes 1292s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1293s # GLib-DEBUG: io-channel-basic: child writing 8+769 bytes to 6 1293s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1293s # GLib-DEBUG: io-channel-basic: ...from 5: 769 bytes 1293s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1293s # GLib-DEBUG: io-channel-basic: child writing 8+2082 bytes to 6 1293s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1293s # GLib-DEBUG: io-channel-basic: ...from 5: 2082 bytes 1293s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1293s # Executing: glib/io-channel-basic.test 1293s # GLib-DEBUG: io-channel-basic: child writing 8+1150 bytes to 6 1293s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1293s # GLib-DEBUG: io-channel-basic: ...from 5: 1150 bytes 1293s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1294s # GLib-DEBUG: io-channel-basic: child writing 8+4233 bytes to 6 1294s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1294s # GLib-DEBUG: io-channel-basic: ...from 5: 4233 bytes 1294s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1294s # GLib-DEBUG: io-channel-basic: child writing 8+3618 bytes to 6 1294s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1294s # GLib-DEBUG: io-channel-basic: ...from 5: 3618 bytes 1294s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1294s # GLib-DEBUG: io-channel-basic: child writing 8+1157 bytes to 6 1294s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1294s # GLib-DEBUG: io-channel-basic: ...from 5: 1157 bytes 1294s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1294s # GLib-DEBUG: io-channel-basic: child writing 8+1787 bytes to 6 1294s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1294s # GLib-DEBUG: io-channel-basic: ...from 5: 1787 bytes 1294s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1295s # GLib-DEBUG: io-channel-basic: child writing 8+3444 bytes to 6 1295s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1295s # GLib-DEBUG: io-channel-basic: ...from 5: 3444 bytes 1295s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1295s # GLib-DEBUG: io-channel-basic: child writing 8+1950 bytes to 6 1295s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1295s # GLib-DEBUG: io-channel-basic: ...from 5: 1950 bytes 1295s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1295s # GLib-DEBUG: io-channel-basic: child writing 8+3190 bytes to 6 1295s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1295s # GLib-DEBUG: io-channel-basic: ...from 5: 3190 bytes 1295s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1295s # GLib-DEBUG: io-channel-basic: child writing 8+1900 bytes to 6 1295s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1295s # GLib-DEBUG: io-channel-basic: ...from 5: 1900 bytes 1295s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1296s # GLib-DEBUG: io-channel-basic: child writing 8+1086 bytes to 6 1296s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1296s # GLib-DEBUG: io-channel-basic: ...from 5: 1086 bytes 1296s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1296s # GLib-DEBUG: io-channel-basic: child writing 8+645 bytes to 6 1296s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1296s # GLib-DEBUG: io-channel-basic: ...from 5: 645 bytes 1296s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1296s # GLib-DEBUG: io-channel-basic: child writing 8+4490 bytes to 6 1296s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1296s # GLib-DEBUG: io-channel-basic: ...from 5: 4490 bytes 1296s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1296s # GLib-DEBUG: io-channel-basic: child writing 8+3114 bytes to 6 1296s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1296s # GLib-DEBUG: io-channel-basic: ...from 5: 3114 bytes 1296s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+768 bytes to 6 1297s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 5: 768 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+3476 bytes to 6 1297s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1297s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1297s # GLib-DEBUG: io-channel-basic: ...from 5: 3476 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1297s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1297s # random seed: R02Sdf1ded8dae207d0a0a6b8e0d578203c9 1297s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1297s # random seed: R02Sd675e3b4d70fb2c3302510ff059f0133 1297s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1297s # random seed: R02S77bb555d4c486ad3645cb8ac6e71be99 1297s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1297s # random seed: R02S32c2521d6ec14c816f3f7bd707fadf69 1297s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1297s # random seed: R02Sba074ff903da6b72bd223d099f70f45a 1297s # GLib-DEBUG: io-channel-basic: child writing 8+2381 bytes to 13 1297s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 12: 2381 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+4468 bytes to 15 1297s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 14: 4468 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+1561 bytes to 11 1297s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 10: 1561 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+4064 bytes to 17 1297s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 16: 4064 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+2092 bytes to 9 1297s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 8: 2092 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+1927 bytes to 13 1297s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 12: 1927 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+2074 bytes to 17 1297s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 16: 2074 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+2596 bytes to 15 1297s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 14: 2596 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+4982 bytes to 11 1297s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 10: 4982 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1297s # GLib-DEBUG: io-channel-basic: child writing 8+656 bytes to 9 1297s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1297s # GLib-DEBUG: io-channel-basic: ...from 8: 656 bytes 1297s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+504 bytes to 15 1298s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 14: 504 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+4941 bytes to 13 1298s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 12: 4941 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+2276 bytes to 9 1298s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 8: 2276 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+2509 bytes to 17 1298s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 16: 2509 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+1503 bytes to 11 1298s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 10: 1503 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+4626 bytes to 9 1298s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 8: 4626 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+2267 bytes to 13 1298s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 12: 2267 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+2613 bytes to 17 1298s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 16: 2613 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+239 bytes to 15 1298s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 14: 239 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+115 bytes to 11 1298s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 10: 115 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1298s # Executing: glib/io-channel-basic.test 1298s # GLib-DEBUG: io-channel-basic: child writing 8+1444 bytes to 17 1298s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 16: 1444 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+4072 bytes to 15 1298s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 14: 4072 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+4623 bytes to 13 1298s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 12: 4623 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+3139 bytes to 9 1298s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 8: 3139 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1298s # GLib-DEBUG: io-channel-basic: child writing 8+3214 bytes to 11 1298s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1298s # GLib-DEBUG: io-channel-basic: ...from 10: 3214 bytes 1298s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+4687 bytes to 13 1299s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 12: 4687 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+846 bytes to 15 1299s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 14: 846 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+365 bytes to 17 1299s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 16: 365 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+92 bytes to 9 1299s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 8: 92 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+238 bytes to 11 1299s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 10: 238 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+2384 bytes to 15 1299s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 14: 2384 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+3222 bytes to 17 1299s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 16: 3222 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+1495 bytes to 13 1299s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 12: 1495 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+381 bytes to 9 1299s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 8: 381 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+3275 bytes to 11 1299s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 10: 3275 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+3930 bytes to 13 1299s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 12: 3930 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+812 bytes to 11 1299s # GLib-DEBUG: io-channel-basic: child writing 8+1293 bytes to 15 1299s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 10: 812 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1299s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 14: 1293 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+4070 bytes to 17 1299s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 16: 4070 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+2604 bytes to 9 1299s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 8: 2604 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+2401 bytes to 13 1299s # GLib-DEBUG: io-channel-basic: child writing 8+926 bytes to 9 1299s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 8: 926 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1299s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 12: 2401 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+1820 bytes to 15 1299s # GLib-DEBUG: io-channel-basic: child writing 8+2633 bytes to 11 1299s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 10: 2633 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1299s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 14: 1820 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1299s # GLib-DEBUG: io-channel-basic: child writing 8+2024 bytes to 17 1299s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1299s # GLib-DEBUG: io-channel-basic: ...from 16: 2024 bytes 1299s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+744 bytes to 11 1300s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 10: 744 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+4313 bytes to 15 1300s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 14: 4313 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+3101 bytes to 9 1300s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 8: 3101 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+1369 bytes to 13 1300s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 12: 1369 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+4966 bytes to 17 1300s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 16: 4966 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+489 bytes to 9 1300s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 8: 489 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+4602 bytes to 11 1300s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 10: 4602 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+948 bytes to 15 1300s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 14: 948 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+4592 bytes to 17 1300s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 16: 4592 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+2104 bytes to 13 1300s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 12: 2104 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+4637 bytes to 9 1300s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 8: 4637 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+2880 bytes to 11 1300s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 10: 2880 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+3678 bytes to 17 1300s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 16: 3678 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+988 bytes to 13 1300s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 12: 988 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+3855 bytes to 15 1300s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 14: 3855 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+4392 bytes to 9 1300s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 8: 4392 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+2838 bytes to 11 1300s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 10: 2838 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+4478 bytes to 17 1300s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 16: 4478 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+4527 bytes to 13 1300s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 12: 4527 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1300s # GLib-DEBUG: io-channel-basic: child writing 8+3249 bytes to 15 1300s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1300s # GLib-DEBUG: io-channel-basic: ...from 14: 3249 bytes 1300s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+2155 bytes to 9 1301s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 8: 2155 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+165 bytes to 11 1301s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 10: 165 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+1129 bytes to 17 1301s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 16: 1129 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+2923 bytes to 13 1301s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 12: 2923 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+1658 bytes to 15 1301s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 14: 1658 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+3905 bytes to 9 1301s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 8: 3905 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+1970 bytes to 17 1301s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 16: 1970 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+861 bytes to 13 1301s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 12: 861 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+2190 bytes to 11 1301s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 10: 2190 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+2250 bytes to 15 1301s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 14: 2250 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+213 bytes to 9 1301s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 8: 213 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+948 bytes to 17 1301s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 16: 948 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+3921 bytes to 13 1301s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 12: 3921 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+4304 bytes to 11 1301s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 10: 4304 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+533 bytes to 15 1301s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 14: 533 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+3654 bytes to 9 1301s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 8: 3654 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+4194 bytes to 17 1301s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 16: 4194 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+3199 bytes to 13 1301s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 12: 3199 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+2684 bytes to 11 1301s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 10: 2684 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1301s # GLib-DEBUG: io-channel-basic: child writing 8+2716 bytes to 15 1301s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1301s # GLib-DEBUG: io-channel-basic: ...from 14: 2716 bytes 1301s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+3581 bytes to 9 1302s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 8: 3581 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+4996 bytes to 11 1302s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 10: 4996 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+4611 bytes to 17 1302s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 16: 4611 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+3011 bytes to 13 1302s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 12: 3011 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+1263 bytes to 15 1302s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 14: 1263 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+1705 bytes to 9 1302s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 8: 1705 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+3849 bytes to 17 1302s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 16: 3849 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+1682 bytes to 11 1302s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 10: 1682 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+2532 bytes to 13 1302s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 12: 2532 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+3509 bytes to 15 1302s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 14: 3509 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+3173 bytes to 9 1302s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1302s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1302s # GLib-DEBUG: io-channel-basic: ...from 8: 3173 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+3978 bytes to 17 1302s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 16: 3978 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+4731 bytes to 13 1302s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 12: 4731 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+3639 bytes to 11 1302s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 10: 3639 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+1139 bytes to 15 1302s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 14: 1139 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+551 bytes to 17 1302s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 16: 551 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+1260 bytes to 13 1302s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1302s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1302s # GLib-DEBUG: io-channel-basic: ...from 12: 1260 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1302s # GLib-DEBUG: io-channel-basic: child writing 8+4756 bytes to 11 1302s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1302s # GLib-DEBUG: io-channel-basic: ...from 10: 4756 bytes 1302s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1303s # GLib-DEBUG: io-channel-basic: child writing 8+3394 bytes to 15 1303s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1303s # GLib-DEBUG: io-channel-basic: ...from 14: 3394 bytes 1303s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1303s # GLib-DEBUG: io-channel-basic: child writing 8+4790 bytes to 11 1303s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1303s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1303s # GLib-DEBUG: io-channel-basic: ...from 10: 4790 bytes 1303s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1303s # GLib-DEBUG: io-channel-basic: child writing 8+2405 bytes to 17 1303s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1303s # GLib-DEBUG: io-channel-basic: ...from 16: 2405 bytes 1303s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1303s # GLib-DEBUG: io-channel-basic: child writing 8+1615 bytes to 15 1303s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1303s # GLib-DEBUG: io-channel-basic: ...from 14: 1615 bytes 1303s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1303s # GLib-DEBUG: io-channel-basic: child writing 8+3679 bytes to 17 1303s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1303s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1303s # GLib-DEBUG: io-channel-basic: ...from 16: 3679 bytes 1303s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1303s # GLib-DEBUG: io-channel-basic: child writing 8+2544 bytes to 15 1303s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1303s # GLib-DEBUG: io-channel-basic: ...from 14: 2544 bytes 1303s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1303s # Executing: glib/io-channel-basic.test 1303s # GLib-DEBUG: io-channel-basic: child writing 8+2 bytes to 15 1303s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1303s # GLib-DEBUG: io-channel-basic: ...from 14: 2 bytes 1303s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1304s # GLib-DEBUG: io-channel-basic: child writing 8+251 bytes to 15 1304s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1304s # GLib-DEBUG: io-channel-basic: ...from 14: 251 bytes 1304s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1304s # GLib-DEBUG: io-channel-basic: child writing 8+1837 bytes to 15 1304s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1304s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1304s # GLib-DEBUG: io-channel-basic: ...from 14: 1837 bytes 1304s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1304s ok 1 /gio/io-basics 1304s # slow test /gio/io-basics executed in 13.42 secs 1304s # End of gio tests 1304s ok - glib/io-channel-basic.test 1304s # Running test: glib/unix.test 1304s TAP version 14 1304s # random seed: R02S5ed7af1a7643ab21279b3814b7fc7815 1304s 1..20 1304s # Start of glib-unix tests 1304s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1304s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1304s ok 1 /glib-unix/closefrom 1304s ok 2 /glib-unix/pipe 1304s # /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 1304s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1304s ok 3 /glib-unix/pipe-stdio-overwrite 1304s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1304s ok 4 /glib-unix/pipe-struct 1304s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1304s ok 5 /glib-unix/pipe-struct-auto 1304s ok 6 /glib-unix/error 1304s ok 7 /glib-unix/nonblocking 1304s ok 8 /glib-unix/sighup 1304s # slow test /glib-unix/sighup executed in 0.50 secs 1305s ok 9 /glib-unix/sigterm 1305s # slow test /glib-unix/sigterm executed in 0.50 secs 1305s ok 10 /glib-unix/sighup_again 1305s # slow test /glib-unix/sighup_again executed in 0.50 secs 1305s ok 11 /glib-unix/sighup_add_remove 1305s ok 12 /glib-unix/sighup_nested 1307s ok 13 /glib-unix/callback_after_signal 1307s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1307s ok 14 /glib-unix/child-wait 1307s # Start of closefrom tests 1307s # Start of subprocess tests 1307s # End of subprocess tests 1307s # End of closefrom tests 1307s # Start of pipe tests 1307s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1307s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1307s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1307s ok 15 /glib-unix/pipe/fd-cloexec 1307s # End of pipe tests 1307s # Start of sighup tests 1308s # Executing: glib/unix.test 1308s ok 16 /glib-unix/sighup/alternate-stack 1308s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1308s # End of sighup tests 1308s # Start of sigterm tests 1309s ok 17 /glib-unix/sigterm/alternate-stack 1309s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1309s # End of sigterm tests 1309s # Start of sighup_again tests 1310s ok 18 /glib-unix/sighup_again/alternate-stack 1310s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1310s # End of sighup_again tests 1310s # Start of get-passwd-entry tests 1310s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1310s ok 19 /glib-unix/get-passwd-entry/root 1310s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1310s ok 20 /glib-unix/get-passwd-entry/nonexistent 1310s # End of get-passwd-entry tests 1310s # End of glib-unix tests 1310s ok - glib/unix.test 1310s # Running test: glib/volumemonitor.test 1310s TAP version 14 1310s # random seed: R02Sa1abbd713004d47e4d6a3d1bb129faa2 1310s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1310s 1..3 1310s # Start of volumemonitor tests 1310s ok 1 /volumemonitor/connected_drives 1310s ok 2 /volumemonitor/volumes 1310s ok 3 /volumemonitor/mounts 1310s # End of volumemonitor tests 1310s ok - glib/volumemonitor.test 1310s # Running test: glib/option-argv0.test 1310s TAP version 14 1310s # random seed: R02S102ad26cb50d1500225d262138534819 1310s 1..1 1310s # Start of option tests 1310s ok 1 /option/argv0 1310s # End of option tests 1310s ok - glib/option-argv0.test 1310s # Running test: glib/signals.test 1310s TAP version 14 1310s # random seed: R02S5bd355709f8851c51e75a806b76377fb 1310s 1..31 1310s # Start of gobject tests 1310s # Start of signals tests 1310s ok 1 /gobject/signals/all-types 1310s ok 2 /gobject/signals/variant 1310s ok 3 /gobject/signals/destroy-target-object 1310s ok 4 /gobject/signals/generic-marshaller-1 1310s ok 5 /gobject/signals/generic-marshaller-2 1310s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1310s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1310s ok 8 /gobject/signals/generic-marshaller-int-return 1310s ok 9 /gobject/signals/generic-marshaller-uint-return 1310s ok 10 /gobject/signals/generic-marshaller-interface-return 1310s ok 11 /gobject/signals/custom-marshaller 1310s ok 12 /gobject/signals/connect 1310s ok 13 /gobject/signals/emission-hook 1310s ok 14 /gobject/signals/emitv 1310s ok 15 /gobject/signals/accumulator 1310s # Signal: accumulator-class-first 1310s # Signal: accumulator-class-last 1310s # Signal: accumulator-class-cleanup 1310s # Signal: accumulator-class-first-last 1310s # Signal: accumulator-class-first-last-cleanup 1310s # Signal: accumulator-class-last-cleanup 1310s ok 16 /gobject/signals/accumulator-class 1310s ok 17 /gobject/signals/introspection 1310s ok 18 /gobject/signals/block-handler 1310s ok 19 /gobject/signals/stop-emission 1310s ok 20 /gobject/signals/invocation-hint 1310s ok 21 /gobject/signals/test-disconnection-wrong-object 1310s ok 22 /gobject/signals/clear-signal-handler 1310s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1310s ok 23 /gobject/signals/lookup 1310s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1310s ok 24 /gobject/signals/parse-name 1310s ok 25 /gobject/signals/is-valid-name 1310s ok 26 /gobject/signals/weak-ref-disconnect 1310s # Start of lookup tests 1310s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1310s ok 27 /gobject/signals/lookup/invalid 1310s # End of lookup tests 1310s # Start of parse-name tests 1310s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1310s # Parser input: 1310s # Parser input: 7zip 1310s # Parser input: invalid:signal 1310s # Parser input: simple-detailed:: 1310s # Parser input: simple-detailed: 1310s # Parser input: : 1310s # Parser input: :: 1310s # Parser input: :valid-detail 1310s # Parser input: ::valid-detail 1310s ok 28 /gobject/signals/parse-name/invalid 1310s # End of parse-name tests 1310s # Start of invalid-name tests 1310s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1310s ok 29 /gobject/signals/invalid-name/colon 1310s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1310s ok 30 /gobject/signals/invalid-name/first-char 1310s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1310s ok 31 /gobject/signals/invalid-name/empty 1310s # End of invalid-name tests 1310s # End of signals tests 1310s # End of gobject tests 1310s ok - glib/signals.test 1310s # Running test: glib/async-splice-output-stream.test 1310s TAP version 14 1310s # random seed: R02S1b82cea919735f4c649e0780757f4efb 1310s 1..5 1310s # Start of async-splice tests 1310s ok 1 /async-splice/copy-chunks 1310s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1310s ok 2 /async-splice/copy-chunks-threaded-input 1310s ok 3 /async-splice/copy-chunks-threaded-output 1310s ok 4 /async-splice/copy-chunks-threaded 1310s ok 5 /async-splice/cancelled 1310s # End of async-splice tests 1310s ok - glib/async-splice-output-stream.test 1310s # Running test: glib/thread-pool.test 1310s TAP version 14 1310s # random seed: R02S02be2e412aed9514d429ccc64fcb0b3f 1310s 1..5 1310s # Start of thread_pool tests 1310s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1310s ok 1 /thread_pool/shared 1310s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1310s ok 2 /thread_pool/exclusive 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1310s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1310s ok 3 /thread_pool/create_shared_after_exclusive 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1310s ok 4 /thread_pool/create_full 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1310s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1310s ok 5 /thread_pool/create_exclusive_after_shared 1310s # End of thread_pool tests 1310s ok - glib/thread-pool.test 1310s # Running test: glib/hook.test 1310s TAP version 14 1310s # random seed: R02S68ed2f33a4d36c46c20b18284394caeb 1310s 1..2 1310s # Start of hook tests 1310s ok 1 /hook/basics 1310s ok 2 /hook/corner-cases 1310s # End of hook tests 1310s ok - glib/hook.test 1310s # Running test: glib/thumbnail-verification.test 1310s TAP version 14 1310s # random seed: R02S43cc3ad8460904a2ed1b722d1031949b 1310s 1..1 1310s # Start of png-thumbs tests 1310s ok 1 /png-thumbs/validity 1310s # End of png-thumbs tests 1310s ok - glib/thumbnail-verification.test 1310s # Running test: glib/atomic-c-17.test 1310s TAP version 14 1310s # random seed: R02S421e7974fe4d88b6dbf7bccbd77ba183 1310s 1..2 1310s # Start of atomic tests 1310s ok 1 /atomic/types 1311s ok 2 /atomic/threaded 1311s # End of atomic tests 1311s ok - glib/atomic-c-17.test 1311s # Running test: glib/power-profile-monitor.test 1311s TAP version 14 1311s # random seed: R02Se168bdc1ee54f1d1a70755051f4098c9 1311s 1..1 1311s # Start of power-profile-monitor tests 1311s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1311s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1311s ok 1 /power-profile-monitor/default 1311s # End of power-profile-monitor tests 1311s ok - glib/power-profile-monitor.test 1311s # Running test: glib/bitlock.test 1311s TAP version 14 1311s # random seed: R02S835a44898d8127fead021dd78f7095ab 1311s 1..1 1311s # Start of bitlock tests 1311s # Start of performance tests 1311s # max perf: iterations per second 1311s ok 1 /bitlock/performance/uncontended 1311s # End of performance tests 1311s # End of bitlock tests 1311s ok - glib/bitlock.test 1311s # Running test: glib/tls-database.test 1311s TAP version 14 1311s # random seed: R02S042c52ce966101888a2f96be17f37900 1311s 1..1 1311s # Start of tls-backend tests 1311s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1311s ok 1 /tls-backend/set-default-database 1311s # End of tls-backend tests 1311s ok - glib/tls-database.test 1311s # Running test: glib/flags.test 1311s TAP version 14 1311s # random seed: R02S904785f6e2be1626fd5dfb63f8fd9b01 1311s 1..1 1311s # Start of gobject tests 1311s # Start of flags tests 1311s ok 1 /gobject/flags/validate 1311s # End of flags tests 1311s # End of gobject tests 1311s ok - glib/flags.test 1311s # Running test: glib/bookmarkfile.test 1311s TAP version 14 1311s # random seed: R02Sbf2c8e719eb4c5ae41c5139a3fbafaee 1311s 1..96 1311s # Start of bookmarks tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/load-from-data-dirs/.dirs/runtime 1311s ok 1 /bookmarks/load-from-data-dirs 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/to-file/.dirs/runtime 1311s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_NOGRZ2/bookmarkfile-test-HDHRZ2.xbel 1311s # Roundtrip from a valid bookmark file 1311s ok 2 /bookmarks/to-file 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/move-item/.dirs/runtime 1311s ok 3 /bookmarks/move-item 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/corner-cases/.dirs/runtime 1311s ok 4 /bookmarks/corner-cases 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/misc/.dirs/runtime 1311s ok 5 /bookmarks/misc 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/deprecated/.dirs/runtime 1311s ok 6 /bookmarks/deprecated 1311s # Start of parse tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1311s ok 7 /bookmarks/parse/fail-06.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1311s ok 8 /bookmarks/parse/fail-19.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1311s ok 9 /bookmarks/parse/fail-39.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1311s ok 10 /bookmarks/parse/fail-22.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1311s ok 11 /bookmarks/parse/fail-31.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1311s ok 12 /bookmarks/parse/fail-40.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1311s ok 13 /bookmarks/parse/valid-02.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1311s ok 14 /bookmarks/parse/fail-11.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1311s ok 15 /bookmarks/parse/fail-25.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1311s ok 16 /bookmarks/parse/fail-17.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1311s ok 17 /bookmarks/parse/fail-32.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1311s ok 18 /bookmarks/parse/fail-21.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1311s ok 19 /bookmarks/parse/fail-28.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1311s ok 20 /bookmarks/parse/fail-35.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1311s ok 21 /bookmarks/parse/fail-01.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1311s ok 22 /bookmarks/parse/fail-20.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1311s ok 23 /bookmarks/parse/fail-03.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1311s ok 24 /bookmarks/parse/fail-18.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1311s ok 25 /bookmarks/parse/fail-13.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1311s ok 26 /bookmarks/parse/fail-42.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1311s ok 27 /bookmarks/parse/fail-14.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1311s ok 28 /bookmarks/parse/fail-38.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1311s ok 29 /bookmarks/parse/fail-24.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1311s ok 30 /bookmarks/parse/fail-30.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1311s ok 31 /bookmarks/parse/fail-23.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1311s ok 32 /bookmarks/parse/fail-15.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1311s ok 33 /bookmarks/parse/fail-09.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1311s ok 34 /bookmarks/parse/fail-41.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1311s ok 35 /bookmarks/parse/valid-01.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1311s ok 36 /bookmarks/parse/fail-36.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1311s ok 37 /bookmarks/parse/fail-33.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1311s ok 38 /bookmarks/parse/fail-10.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1311s ok 39 /bookmarks/parse/valid-03.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1311s ok 40 /bookmarks/parse/fail-26.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1311s ok 41 /bookmarks/parse/fail-04.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1311s ok 42 /bookmarks/parse/fail-37.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1311s ok 43 /bookmarks/parse/fail-29.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1311s ok 44 /bookmarks/parse/fail-16.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1311s ok 45 /bookmarks/parse/fail-05.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1311s ok 46 /bookmarks/parse/fail-27.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1311s ok 47 /bookmarks/parse/fail-34.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1311s ok 48 /bookmarks/parse/fail-12.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1311s ok 49 /bookmarks/parse/fail-07.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1311s ok 50 /bookmarks/parse/fail-08.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1311s ok 51 /bookmarks/parse/fail-02.xbel 1311s # End of parse tests 1311s # Start of copy tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1311s ok 52 /bookmarks/copy/fail-06.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1311s ok 53 /bookmarks/copy/fail-19.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1311s ok 54 /bookmarks/copy/fail-39.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1311s ok 55 /bookmarks/copy/fail-22.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1311s ok 56 /bookmarks/copy/fail-31.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1311s ok 57 /bookmarks/copy/fail-40.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1311s ok 58 /bookmarks/copy/valid-02.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1311s ok 59 /bookmarks/copy/fail-11.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1311s ok 60 /bookmarks/copy/fail-25.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1311s ok 61 /bookmarks/copy/fail-17.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1311s ok 62 /bookmarks/copy/fail-32.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1311s ok 63 /bookmarks/copy/fail-21.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1311s ok 64 /bookmarks/copy/fail-28.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1311s ok 65 /bookmarks/copy/fail-35.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1311s ok 66 /bookmarks/copy/fail-01.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1311s ok 67 /bookmarks/copy/fail-20.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1311s ok 68 /bookmarks/copy/fail-03.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1311s ok 69 /bookmarks/copy/fail-18.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1311s ok 70 /bookmarks/copy/fail-13.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1311s ok 71 /bookmarks/copy/fail-42.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1311s ok 72 /bookmarks/copy/fail-14.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1311s ok 73 /bookmarks/copy/fail-38.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1311s ok 74 /bookmarks/copy/fail-24.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1311s ok 75 /bookmarks/copy/fail-30.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1311s ok 76 /bookmarks/copy/fail-23.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1311s ok 77 /bookmarks/copy/fail-15.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1311s ok 78 /bookmarks/copy/fail-09.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1311s ok 79 /bookmarks/copy/fail-41.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1311s ok 80 /bookmarks/copy/valid-01.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1311s ok 81 /bookmarks/copy/fail-36.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1311s ok 82 /bookmarks/copy/fail-33.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1311s ok 83 /bookmarks/copy/fail-10.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1311s ok 84 /bookmarks/copy/valid-03.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1311s ok 85 /bookmarks/copy/fail-26.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1311s ok 86 /bookmarks/copy/fail-04.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1311s ok 87 /bookmarks/copy/fail-37.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1311s ok 88 /bookmarks/copy/fail-29.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1311s ok 89 /bookmarks/copy/fail-16.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1311s ok 90 /bookmarks/copy/fail-05.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1311s ok 91 /bookmarks/copy/fail-27.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1311s ok 92 /bookmarks/copy/fail-34.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1311s ok 93 /bookmarks/copy/fail-12.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1311s ok 94 /bookmarks/copy/fail-07.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1311s ok 95 /bookmarks/copy/fail-08.xbel 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOGRZ2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1311s ok 96 /bookmarks/copy/fail-02.xbel 1311s # End of copy tests 1311s # End of bookmarks tests 1311s ok - glib/bookmarkfile.test 1311s # Running test: glib/portal-support-none.test 1311s TAP version 14 1311s # random seed: R02Sc1e71da6bab3295af7796bdc8973994c 1311s 1..1 1311s # Start of portal-support tests 1311s ok 1 /portal-support/none 1311s # End of portal-support tests 1311s ok - glib/portal-support-none.test 1311s # Running test: glib/signals-refcount4.test 1311s TAP version 14 1311s # random seed: R02Sd029785068d61afd38eaf82e584bad90 1311s 1..1 1311s # Start of gobject tests 1311s # Start of refcount tests 1311s # init 0xc546316ca430 1311s # 1311s # init 0xc546316ca5d0 1311s # 1313s # Executing: glib/signals-refcount4.test 1316s # dispose 0xc546316ca430! 1316s # 1316s # dispose 0xc546316ca5d0! 1316s # 1316s ok 1 /gobject/refcount/signals 1316s # slow test /gobject/refcount/signals executed in 5.00 secs 1316s # End of refcount tests 1316s # End of gobject tests 1316s ok - glib/signals-refcount4.test 1316s # Running test: glib/object.test 1316s TAP version 14 1316s # random seed: R02Scd0909ed14336f7975a465b2da2d0a07 1316s 1..2 1316s # Start of object tests 1316s # Start of constructor tests 1316s ok 1 /object/constructor/singleton 1316s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1316s # End of constructor tests 1316s # End of object tests 1316s ok - glib/object.test 1316s # Running test: glib/gdbus-addresses.test 1316s TAP version 14 1316s # random seed: R02S76cfd108a9f5ecfdb9aa34fc67d572ed 1316s 1..9 1316s # Start of gdbus tests 1316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/home 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/cache 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/system-config2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/config 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/system-data2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/data 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/state 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/empty-address/.dirs/runtime 1316s ok 1 /gdbus/empty-address 1316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/home 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/cache 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/system-config2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/config 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/system-data2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/data 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/state 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unsupported-address/.dirs/runtime 1316s ok 2 /gdbus/unsupported-address 1316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/home 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/cache 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/system-config2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/config 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/system-data2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/data 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/state 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/address-parsing/.dirs/runtime 1316s ok 3 /gdbus/address-parsing 1316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/home 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/cache 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/system-config2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/config 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/system-data2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/data 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/state 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/unix-address/.dirs/runtime 1316s ok 4 /gdbus/unix-address 1316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/home 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/cache 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/system-config2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/config 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/system-data2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/data 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/state 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/nonce-tcp-address/.dirs/runtime 1316s ok 5 /gdbus/nonce-tcp-address 1316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/home 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/cache 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/system-config2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/config 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/system-data2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/data 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/state 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/tcp-address/.dirs/runtime 1316s ok 6 /gdbus/tcp-address 1316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/home 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/cache 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/system-config2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/config 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/system-data2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/data 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/state 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/autolaunch-address/.dirs/runtime 1316s ok 7 /gdbus/autolaunch-address 1316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/home 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/cache 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/system-config2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/config 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/system-data2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/data 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/state 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/mixed-address/.dirs/runtime 1316s ok 8 /gdbus/mixed-address 1316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/home 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/cache 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/system-config2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/config 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/system-data2 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/data 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/state 1316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1ZMTZ2/gdbus/escape-address/.dirs/runtime 1316s ok 9 /gdbus/escape-address 1316s # End of gdbus tests 1316s ok - glib/gdbus-addresses.test 1316s # Running test: glib/qdata.test 1316s TAP version 14 1316s # random seed: R02S69845f1a0b6d19050a3a82727c294c57 1316s 1..2 1316s # Start of qdata tests 1316s ok 1 /qdata/threaded 1316s ok 2 /qdata/dup 1316s # End of qdata tests 1316s ok - glib/qdata.test 1316s # Running test: glib/giomodule.test 1316s TAP version 14 1316s # random seed: R02S15c6f7a69b0626379b4f3d7d445696f4 1316s 1..3 1316s # Start of giomodule tests 1316s ok 1 /giomodule/extension-point 1316s ok 2 /giomodule/module-scan-all 1316s ok 3 /giomodule/module-scan-all-with-scope 1316s # End of giomodule tests 1316s ok - glib/giomodule.test 1316s # Running test: glib/gsocketclient-slow.test 1316s TAP version 14 1316s # random seed: R02S672d8a2382c48efc729d90ed534c9d56 1316s 1..4 1316s # Start of socket-client tests 1316s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1316s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1316s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb494622a82a0 and GSocketClientAsyncConnectData 0xb494622a0ba0 1316s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1316s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1316s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb494622aa180 for GSocketClientAsyncConnectData 0xb494622a0ba0 1316s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1316s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1316s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1316s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1316s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1316s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1316s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb494622ab2e0 for GSocketClientAsyncConnectData 0xb494622a0ba0 1316s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1317s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1317s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1317s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1317s ok 1 /socket-client/connection-fail 1317s # slow test /socket-client/connection-fail executed in 1.20 secs 1317s # Start of happy-eyeballs tests 1317s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb494622add60 and GSocketClientAsyncConnectData 0xb494622abee0 1317s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1317s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1317s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb494622ae600 for GSocketClientAsyncConnectData 0xb494622abee0 1317s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1317s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1317s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1317s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1317s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1317s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1317s ok 2 /socket-client/happy-eyeballs/slow 1317s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1317s # Start of cancellation tests 1317s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb494622af250 and GSocketClientAsyncConnectData 0xb494622ae290 1317s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1317s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1317s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1317s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb494622adca0 and GSocketClientAsyncConnectData 0xb494622af500 1317s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1317s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1317s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb494622afd90 for GSocketClientAsyncConnectData 0xb494622af500 1317s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1318s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1318s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1318s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1318s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1318s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1318s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1318s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1318s # End of cancellation tests 1318s # End of happy-eyeballs tests 1318s # End of socket-client tests 1318s ok - glib/gsocketclient-slow.test 1318s # Running test: glib/spawn-test.test 1318s TAP version 14 1318s # random seed: R02S23021658ed5c669ab9880cabb78af053 1318s 1..2 1318s # Start of spawn tests 1318s ok 1 /spawn/basics 1318s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1318s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1318s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1318s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1318s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1318s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1318s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1318s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1318s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1318s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1318s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1318s # Executing: glib/spawn-test.test 1318s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1318s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1318s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1318s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1318s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1318s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1318s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1318s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1318s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1318s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1318s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1318s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1318s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1318s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1318s # Fetching GSpawn result with stdin open, stdout open, stderr open 1318s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1318s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1318s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1318s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1318s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1318s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1318s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1318s ok 2 /spawn/stdio-overwrite 1318s # End of spawn tests 1318s ok - glib/spawn-test.test 1318s # Running test: glib/dynamictype.test 1318s TAP version 14 1318s # random seed: R02S970b1d5429ab143d062b9a2039bb8940 1318s 1..2 1318s # Start of gobject tests 1318s ok 1 /gobject/dynamic-type 1318s # Start of dynamic-type tests 1318s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1318s ok 2 /gobject/dynamic-type/query 1318s # End of dynamic-type tests 1318s # End of gobject tests 1318s ok - glib/dynamictype.test 1318s # Running test: glib/error.test 1318s TAP version 14 1318s # random seed: R02S18f4ace3c06866e7e1715db8774e7843 1318s 1..3 1318s # Start of error tests 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RUPJZ2/error/from-errno/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RUPJZ2/error/from-errno/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RUPJZ2/error/from-errno/.dirs/system-config1:/tmp/test_error_RUPJZ2/error/from-errno/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RUPJZ2/error/from-errno/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RUPJZ2/error/from-errno/.dirs/system-data1:/tmp/test_error_RUPJZ2/error/from-errno/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RUPJZ2/error/from-errno/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RUPJZ2/error/from-errno/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RUPJZ2/error/from-errno/.dirs/runtime 1318s ok 1 /error/from-errno 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RUPJZ2/error/from-file-error/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RUPJZ2/error/from-file-error/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RUPJZ2/error/from-file-error/.dirs/system-config1:/tmp/test_error_RUPJZ2/error/from-file-error/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RUPJZ2/error/from-file-error/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RUPJZ2/error/from-file-error/.dirs/system-data1:/tmp/test_error_RUPJZ2/error/from-file-error/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RUPJZ2/error/from-file-error/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RUPJZ2/error/from-file-error/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RUPJZ2/error/from-file-error/.dirs/runtime 1318s ok 2 /error/from-file-error 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RUPJZ2/error/from-win32-error/.dirs/runtime 1318s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1318s # End of error tests 1318s ok - glib/error.test 1318s # Running test: glib/portal-support-flatpak-none.test 1318s TAP version 14 1318s # random seed: R02S21295ee69367240dcbae60f7aeddc905 1318s 1..1 1318s # Start of portal-support tests 1318s # Start of flatpak tests 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/runtime 1318s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_ZBWJZ2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1318s ok 1 /portal-support/flatpak/none 1318s # End of flatpak tests 1318s # End of portal-support tests 1318s ok - glib/portal-support-flatpak-none.test 1318s # Running test: glib/object-info.test 1318s TAP version 14 1318s # random seed: R02Sd16da4a072109081e7b12b26b7de1539 1318s 1..2 1318s # Start of object-info tests 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_ZJ8JZ2/object-info/find-method-using-interfaces/.dirs/runtime 1318s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1318s ok 1 /object-info/find-method-using-interfaces 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_ZJ8JZ2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1318s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1318s ok 2 /object-info/find-vfunc-using-interfaces 1318s # End of object-info tests 1318s ok - glib/object-info.test 1318s # Running test: glib/strfuncs.test 1318s TAP version 14 1318s # random seed: R02S814787246bc03c30b35cc1b62c010361 1318s 1..50 1318s # Start of strfuncs tests 1318s ok 1 /strfuncs/ascii-strcasecmp 1318s ok 2 /strfuncs/ascii_strdown 1318s ok 3 /strfuncs/ascii_strdup 1318s ok 4 /strfuncs/ascii_strtod 1318s ok 5 /strfuncs/bounds-check 1318s ok 6 /strfuncs/has-prefix 1318s ok 7 /strfuncs/has-prefix-macro 1318s ok 8 /strfuncs/has-suffix 1318s ok 9 /strfuncs/has-suffix-macro 1318s ok 10 /strfuncs/memdup 1318s ok 11 /strfuncs/memdup2 1318s ok 12 /strfuncs/set_str 1318s ok 13 /strfuncs/stpcpy 1318s ok 14 /strfuncs/str_match_string 1318s ok 15 /strfuncs/str_tokenize_and_fold 1318s ok 16 /strfuncs/strcanon 1318s ok 17 /strfuncs/strchomp 1318s ok 18 /strfuncs/strchug 1318s ok 19 /strfuncs/strcompress-strescape 1318s ok 20 /strfuncs/strconcat 1318s ok 21 /strfuncs/strdelimit 1318s ok 22 /strfuncs/strdup 1318s ok 23 /strfuncs/strdup-printf 1318s ok 24 /strfuncs/strdupv 1318s ok 25 /strfuncs/strerror 1318s ok 26 /strfuncs/strip-context 1318s ok 27 /strfuncs/strjoin 1318s ok 28 /strfuncs/strjoinv 1318s ok 29 /strfuncs/strlcat 1318s ok 30 /strfuncs/strlcpy 1318s ok 31 /strfuncs/strncasecmp 1318s ok 32 /strfuncs/strndup 1318s ok 33 /strfuncs/strnfill 1318s ok 34 /strfuncs/strreverse 1318s ok 35 /strfuncs/strsignal 1318s ok 36 /strfuncs/strsplit 1318s ok 37 /strfuncs/strsplit-set 1318s ok 38 /strfuncs/strstr 1318s ok 39 /strfuncs/strtod 1318s ok 40 /strfuncs/strtoull-strtoll 1318s ok 41 /strfuncs/strup 1318s ok 42 /strfuncs/strv-contains 1318s ok 43 /strfuncs/strv-equal 1318s ok 44 /strfuncs/strv-length 1318s ok 45 /strfuncs/test-is-to-digit 1318s ok 46 /strfuncs/transliteration 1318s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1318s ok 47 /strfuncs/str-equal 1318s # Start of ascii-string-to-num tests 1318s ok 48 /strfuncs/ascii-string-to-num/pathological 1318s ok 49 /strfuncs/ascii-string-to-num/usual 1318s # End of ascii-string-to-num tests 1318s # Start of strdup tests 1318s ok 50 /strfuncs/strdup/inline 1318s # End of strdup tests 1318s # End of strfuncs tests 1318s ok - glib/strfuncs.test 1318s # Running test: glib/properties-refcount2.test 1318s TAP version 14 1318s # random seed: R02Sa09f25d6593e4577e7b33c3291eebf3c 1318s 1..1 1318s # Start of gobject tests 1318s # Start of refcount tests 1318s # init 0xb719aa43a780 1318s # 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1318s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # . 1319s # dispose 0xb719aa43a780! 1319s # 1319s ok 1 /gobject/refcount/properties-2 1319s # slow test /gobject/refcount/properties-2 executed in 1.05 secs 1319s # End of refcount tests 1319s # End of gobject tests 1319s ok - glib/properties-refcount2.test 1319s # Running test: glib/private.test 1319s TAP version 14 1319s # random seed: R02S9312d4c035800b05ca59f837435202fd 1319s 1..8 1319s # Start of thread tests 1319s ok 1 /thread/private1 1320s ok 2 /thread/private2 1320s # slow test /thread/private2 executed in 1.11 secs 1320s ok 3 /thread/private3 1320s ok 4 /thread/staticprivate1 1320s ok 5 /thread/staticprivate2 1320s ok 6 /thread/staticprivate3 1321s ok 7 /thread/staticprivate4 1321s # slow test /thread/staticprivate4 executed in 1.09 secs 1321s ok 8 /thread/staticprivate5 1321s # End of thread tests 1321s ok - glib/private.test 1321s # Running test: glib/tls-certificate.test 1321s TAP version 14 1321s # random seed: R02S1cea4006ca075ecaa92fff53ad6c6915 1321s 1..19 1321s # Start of tls-certificate tests 1321s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1321s ok 1 /tls-certificate/pem-parser 1321s ok 2 /tls-certificate/pem-parser-handles-chain 1321s ok 3 /tls-certificate/from_file 1321s ok 4 /tls-certificate/from_files 1321s ok 5 /tls-certificate/from_files_crlf 1321s ok 6 /tls-certificate/from_files_pkcs8 1321s ok 7 /tls-certificate/from_files_pkcs8enc 1321s ok 8 /tls-certificate/list_from_file 1321s ok 9 /tls-certificate/pkcs11-uri 1321s ok 10 /tls-certificate/pkcs11-uri-unsupported 1321s ok 11 /tls-certificate/from_pkcs12 1321s ok 12 /tls-certificate/from_pkcs12_file 1321s ok 13 /tls-certificate/not-valid-before 1321s ok 14 /tls-certificate/not-valid-after 1321s ok 15 /tls-certificate/subject-name 1321s ok 16 /tls-certificate/issuer-name 1322s ok 17 /tls-certificate/dns-names 1322s ok 18 /tls-certificate/ip-addresses 1322s ok 19 /tls-certificate/pem-parser-no-sentinel 1322s # End of tls-certificate tests 1322s ok - glib/tls-certificate.test 1322s # Running test: glib/onceinit.test 1322s TAP version 14 1322s # random seed: R02S842ddc6d1cbf704c22aa688d318b428d 1322s 1..1 1322s # Start of thread tests 1322s ok 1 /thread/onceinit 1322s # End of thread tests 1322s ok - glib/onceinit.test 1322s # Running test: glib/shell.test 1322s TAP version 14 1322s # random seed: R02S7a252577a44d68b372edda85ad937351 1322s 1..51 1322s # Start of shell tests 1322s # Start of cmdline tests 1322s test cmdline: foo bar 1322s ok 1 /shell/cmdline/0 1322s test cmdline: foo 'bar' 1322s ok 2 /shell/cmdline/1 1322s test cmdline: foo "bar" 1322s ok 3 /shell/cmdline/2 1322s test cmdline: foo '' 'bar' 1322s ok 4 /shell/cmdline/3 1322s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1322s ok 5 /shell/cmdline/4 1322s test cmdline: foo blah foo bar baz 1322s ok 6 /shell/cmdline/5 1322s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1322s ok 7 /shell/cmdline/6 1322s test cmdline: foo \ 1322s bar 1322s ok 8 /shell/cmdline/7 1322s test cmdline: foo '' '' 1322s ok 9 /shell/cmdline/8 1322s test cmdline: foo \" la la la 1322s ok 10 /shell/cmdline/9 1322s test cmdline: foo \ foo woo woo\ 1322s ok 11 /shell/cmdline/10 1322s test cmdline: foo "yada yada \$\"" 1322s ok 12 /shell/cmdline/11 1322s test cmdline: foo "c:\\" 1322s ok 13 /shell/cmdline/12 1322s test cmdline: foo # bla bla bla 1322s bar 1322s ok 14 /shell/cmdline/13 1322s test cmdline: foo a#b 1322s ok 15 /shell/cmdline/14 1322s test cmdline: #foo 1322s ok 16 /shell/cmdline/15 1322s test cmdline: foo bar \ 1322s ok 17 /shell/cmdline/16 1322s test cmdline: foo 'bar baz 1322s ok 18 /shell/cmdline/17 1322s test cmdline: foo '"bar" baz 1322s ok 19 /shell/cmdline/18 1322s test cmdline: 1322s ok 20 /shell/cmdline/19 1322s test cmdline: 1322s ok 21 /shell/cmdline/20 1322s test cmdline: # foo bar 1322s ok 22 /shell/cmdline/21 1322s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1322s ok 23 /shell/cmdline/22 1322s # End of cmdline tests 1322s # Start of quote tests 1322s ok 24 /shell/quote/0 1322s ok 25 /shell/quote/1 1322s ok 26 /shell/quote/2 1322s ok 27 /shell/quote/3 1322s ok 28 /shell/quote/4 1322s ok 29 /shell/quote/5 1322s ok 30 /shell/quote/6 1322s # End of quote tests 1322s # Start of unquote tests 1322s ok 31 /shell/unquote/0 1322s ok 32 /shell/unquote/1 1322s ok 33 /shell/unquote/2 1322s ok 34 /shell/unquote/3 1322s ok 35 /shell/unquote/4 1322s ok 36 /shell/unquote/5 1322s ok 37 /shell/unquote/6 1322s ok 38 /shell/unquote/7 1322s ok 39 /shell/unquote/8 1322s ok 40 /shell/unquote/9 1322s ok 41 /shell/unquote/10 1322s ok 42 /shell/unquote/11 1322s ok 43 /shell/unquote/12 1322s ok 44 /shell/unquote/13 1322s ok 45 /shell/unquote/14 1322s ok 46 /shell/unquote/15 1322s ok 47 /shell/unquote/16 1322s ok 48 /shell/unquote/17 1322s ok 49 /shell/unquote/18 1322s ok 50 /shell/unquote/19 1322s ok 51 /shell/unquote/20 1322s # End of unquote tests 1322s # End of shell tests 1322s ok - glib/shell.test 1322s # Running test: glib/assert-msg-test.py.test 1322s TAP version 13 1322s ok 1 __main__.TestAssertMessage.test_gassert 1322s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1322s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1322s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1322s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1322s # Error: ** 1322s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1322s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1322s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1322s 1..2 1322s ok - glib/assert-msg-test.py.test 1322s # Running test: glib/portal-support-snap-classic.test 1322s TAP version 14 1322s # random seed: R02S5a64aa63311d8fc0853f7be2f6aebfc6 1322s 1..3 1322s # Start of portal-support tests 1322s # Start of snap-classic tests 1322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/home 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/cache 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/config 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/data 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/state 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1322s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/no-snapctl: No such file or directory 1322s ok 1 /portal-support/snap-classic/no-snapctl 1322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/home 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/cache 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/system-config2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/config 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/system-data2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/data 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/state 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/runtime 1322s # Created snap.yaml in /tmp/test_portal-support-snap-classic_VDZUZ2/meta/snap.yaml 1322s # Created snapctl in /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1322s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/none: No such file or directory 1322s ok 2 /portal-support/snap-classic/none 1322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/home 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/cache 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/system-config2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/config 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/system-data2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/data 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/state 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/runtime 1322s # Created snap.yaml in /tmp/test_portal-support-snap-classic_VDZUZ2/meta/snap.yaml 1322s # Created snapctl in /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1322s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VDZUZ2/portal-support/snap-classic/all: No such file or directory 1322s ok 3 /portal-support/snap-classic/all 1322s # End of snap-classic tests 1322s # End of portal-support tests 1322s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VDZUZ2: No such file or directory 1322s ok - glib/portal-support-snap-classic.test 1322s # Running test: glib/gdbus-method-invocation.test 1322s TAP version 14 1322s # random seed: R02Sc9cf47df72ba14f7b1f20ce9d0657d26 1322s 1..1 1322s # Start of gdbus tests 1322s # Start of method-invocation tests 1322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/home 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/cache 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/system-config2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/config 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/system-data2 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/data 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/state 1322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_4Y5UZ2/gdbus/method-invocation/return/.dirs/runtime 1322s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1322s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1322s # Calling org.freedesktop.DBus.Properties.Get 1322s # Calling org.freedesktop.DBus.Properties.Get 1322s # Calling org.freedesktop.DBus.Properties.Get 1322s # Calling org.freedesktop.DBus.Properties.Set 1322s # Calling org.freedesktop.DBus.Properties.GetAll 1322s # Calling org.example.Foo.WrongReturnType 1322s # Calling org.example.Foo.GetFDs 1322s # Calling org.example.Foo.GetFDs 1322s # Calling org.example.Foo.ReturnError 1322s # Calling org.example.Foo.CloseBeforeReturning 1322s ok 1 /gdbus/method-invocation/return 1322s # End of method-invocation tests 1322s # End of gdbus tests 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s ok - glib/gdbus-method-invocation.test 1322s # Running test: glib/utils-c-99.test 1322s TAP version 14 1322s # random seed: R02S80f15c0b3981f6f750373b3715b7e7bc 1322s 1..40 1322s # Start of utils tests 1322s ok 1 /utils/language-names 1322s ok 2 /utils/locale-variants 1322s ok 3 /utils/version 1322s ok 4 /utils/appname 1322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1322s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1322s ok 5 /utils/prgname-thread-safety 1322s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1322s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1322s ok 6 /utils/tmpdir 1322s ok 7 /utils/basic_bits 1322s ok 8 /utils/bits 1322s ok 9 /utils/swap 1322s ok 10 /utils/find-program 1322s ok 11 /utils/find-program-for-path 1322s ok 12 /utils/debug 1322s ok 13 /utils/codeset 1322s ok 14 /utils/codeset2 1322s ok 15 /utils/console-charset 1322s ok 16 /utils/gettext 1322s ok 17 /utils/username 1322s ok 18 /utils/realname 1322s ok 19 /utils/hostname 1322s ok 20 /utils/xdgdirs 1322s ok 21 /utils/specialdir 1322s # NAME: Ubuntu 1322s ok 22 /utils/os-info 1322s ok 23 /utils/clear-pointer 1322s ok 24 /utils/clear-pointer-cast 1322s ok 25 /utils/take-pointer 1322s ok 26 /utils/clear-source 1322s ok 27 /utils/misc-mem 1322s # /utils/aligned-mem summary: Aligned memory allocator 1322s # Alignment must not be zero 1322s # Alignment must be a power of two 1322s # Alignment must be a multiple of sizeof(void*) 1322s ok 28 /utils/aligned-mem 1322s # /utils/free-sized summary: Check that g_free_sized() works 1322s ok 29 /utils/free-sized 1322s ok 30 /utils/nullify 1322s ok 31 /utils/atexit 1322s ok 32 /utils/check-setuid 1322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1322s ok 33 /utils/int-limits 1322s ok 34 /utils/clear-list 1322s ok 35 /utils/clear-slist 1322s # Start of specialdir tests 1322s ok 36 /utils/specialdir/desktop 1322s # End of specialdir tests 1322s # Start of clear-pointer tests 1322s ok 37 /utils/clear-pointer/side-effects 1322s # End of clear-pointer tests 1322s # Start of aligned-mem tests 1322s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1322s ok 38 /utils/aligned-mem/alignment 1322s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1322s ok 39 /utils/aligned-mem/zeroed 1322s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1322s ok 40 /utils/aligned-mem/free-sized 1322s # Start of subprocess tests 1322s # End of subprocess tests 1322s # End of aligned-mem tests 1322s # End of utils tests 1322s ok - glib/utils-c-99.test 1322s # Running test: glib/custom-dispatch.test 1322s TAP version 14 1322s # random seed: R02Sf8ca98be35487b666a740aa9639841a9 1322s 1..2 1322s # Start of properties tests 1322s # Start of custom-dispatch tests 1322s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1322s ok 1 /properties/custom-dispatch/init 1322s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1322s ok 2 /properties/custom-dispatch/set 1322s # End of custom-dispatch tests 1322s # End of properties tests 1322s ok - glib/custom-dispatch.test 1322s # Running test: glib/mutex.test 1322s TAP version 14 1322s # random seed: R02S46f4ca7e90847a701fe8eb1469a6b773 1322s 1..17 1322s # Start of thread tests 1322s ok 1 /thread/mutex1 1322s ok 2 /thread/mutex2 1322s ok 3 /thread/mutex3 1322s ok 4 /thread/mutex4 1323s # Executing: glib/mutex.test 1325s ok 5 /thread/mutex5 1325s # slow test /thread/mutex5 executed in 3.26 secs 1325s # Start of mutex tests 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1325s ok 6 /thread/mutex/errno 1325s # Start of perf tests 1325s # max perf: inf mips 1325s ok 7 /thread/mutex/perf/uncontended 1325s # Start of contended tests 1325s # max perf: inf mips 1325s ok 8 /thread/mutex/perf/contended/1 1325s # max perf: inf mips 1325s ok 9 /thread/mutex/perf/contended/2 1325s # max perf: inf mips 1325s ok 10 /thread/mutex/perf/contended/3 1325s # max perf: inf mips 1325s ok 11 /thread/mutex/perf/contended/4 1325s # max perf: 1.500000 mips 1325s ok 12 /thread/mutex/perf/contended/5 1325s # max perf: inf mips 1325s ok 13 /thread/mutex/perf/contended/6 1325s # max perf: 2.000000 mips 1325s ok 14 /thread/mutex/perf/contended/7 1325s # max perf: 9.000000 mips 1325s ok 15 /thread/mutex/perf/contended/8 1325s # max perf: 5.000000 mips 1325s ok 16 /thread/mutex/perf/contended/9 1325s # max perf: 5.500000 mips 1325s ok 17 /thread/mutex/perf/contended/10 1325s # End of contended tests 1325s # End of perf tests 1325s # End of mutex tests 1325s # End of thread tests 1325s ok - glib/mutex.test 1325s # Running test: glib/date.test 1325s TAP version 14 1325s # random seed: R02Sfd91a8499565e2c72eaf7061a61ed737 1325s 1..121 1325s # Start of date tests 1325s ok 1 /date/basic 1325s ok 2 /date/empty 1325s ok 3 /date/dmy 1325s ok 4 /date/julian 1325s ok 5 /date/compare 1325s ok 6 /date/dates 1325s ok 7 /date/strftime 1325s ok 8 /date/two-digit-years 1325s ok 9 /date/parse 1325s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1325s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1325s ok 11 /date/month_substring 1325s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1325s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1325s ok 13 /date/clamp 1325s ok 14 /date/order 1325s ok 15 /date/copy 1325s # Vector 0: 0000-00-00, invalid 1325s # Vector 1: 0001-01-01, valid 1325s # Vector 2: 0000-01-01, invalid 1325s # Vector 3: 2000-02-30, invalid 1325s # Vector 4: 2000-02-29, valid 1325s # Vector 5: 2001-02-29, invalid 1325s # Vector 6: 65535-01-01, valid 1325s ok 16 /date/valid-dmy 1325s # Start of parse tests 1325s # Test 0 1325s # Test 1 1325s ok 17 /date/parse/invalid 1325s # End of parse tests 1325s # Start of year tests 1325s ok 18 /date/year/1 1325s ok 19 /date/year/2 1325s ok 20 /date/year/3 1325s ok 21 /date/year/4 1325s ok 22 /date/year/5 1325s ok 23 /date/year/6 1325s ok 24 /date/year/7 1325s ok 25 /date/year/8 1325s ok 26 /date/year/9 1325s ok 27 /date/year/10 1325s ok 28 /date/year/11 1325s ok 29 /date/year/12 1325s ok 30 /date/year/13 1325s ok 31 /date/year/14 1325s ok 32 /date/year/98 1325s ok 33 /date/year/99 1325s ok 34 /date/year/100 1325s ok 35 /date/year/101 1325s ok 36 /date/year/102 1325s ok 37 /date/year/103 1325s ok 38 /date/year/397 1325s ok 39 /date/year/398 1325s ok 40 /date/year/399 1325s ok 41 /date/year/400 1325s ok 42 /date/year/401 1325s ok 43 /date/year/402 1325s ok 44 /date/year/403 1325s ok 45 /date/year/404 1325s ok 46 /date/year/405 1325s ok 47 /date/year/406 1325s ok 48 /date/year/1598 1325s ok 49 /date/year/1599 1325s ok 50 /date/year/1600 1325s ok 51 /date/year/1601 1325s ok 52 /date/year/1602 1325s ok 53 /date/year/1650 1325s ok 54 /date/year/1651 1325s ok 55 /date/year/1897 1325s ok 56 /date/year/1898 1325s ok 57 /date/year/1899 1325s ok 58 /date/year/1900 1325s ok 59 /date/year/1901 1325s ok 60 /date/year/1902 1325s ok 61 /date/year/1903 1325s ok 62 /date/year/1961 1325s ok 63 /date/year/1962 1325s ok 64 /date/year/1963 1325s ok 65 /date/year/1964 1325s ok 66 /date/year/1965 1325s ok 67 /date/year/1967 1325s ok 68 /date/year/1968 1325s ok 69 /date/year/1969 1325s ok 70 /date/year/1970 1325s ok 71 /date/year/1971 1325s ok 72 /date/year/1972 1325s ok 73 /date/year/1973 1325s ok 74 /date/year/1974 1325s ok 75 /date/year/1975 1325s ok 76 /date/year/1976 1325s ok 77 /date/year/1977 1325s ok 78 /date/year/1978 1325s ok 79 /date/year/1979 1325s ok 80 /date/year/1980 1325s ok 81 /date/year/1981 1325s ok 82 /date/year/1982 1325s ok 83 /date/year/1983 1325s ok 84 /date/year/1984 1325s ok 85 /date/year/1985 1325s ok 86 /date/year/1986 1325s ok 87 /date/year/1987 1325s ok 88 /date/year/1988 1325s ok 89 /date/year/1989 1325s ok 90 /date/year/1990 1325s ok 91 /date/year/1991 1325s ok 92 /date/year/1992 1325s ok 93 /date/year/1993 1325s ok 94 /date/year/1994 1325s ok 95 /date/year/1995 1325s ok 96 /date/year/1996 1325s ok 97 /date/year/1997 1325s ok 98 /date/year/1998 1325s ok 99 /date/year/1999 1325s ok 100 /date/year/2000 1325s ok 101 /date/year/2001 1325s ok 102 /date/year/2002 1325s ok 103 /date/year/2003 1325s ok 104 /date/year/2004 1325s ok 105 /date/year/2005 1325s ok 106 /date/year/2006 1325s ok 107 /date/year/2007 1325s ok 108 /date/year/2008 1325s ok 109 /date/year/2009 1325s ok 110 /date/year/2010 1325s ok 111 /date/year/2011 1325s ok 112 /date/year/2012 1325s ok 113 /date/year/3000 1325s ok 114 /date/year/3001 1325s ok 115 /date/year/3002 1325s ok 116 /date/year/3998 1325s ok 117 /date/year/3999 1325s ok 118 /date/year/4000 1325s ok 119 /date/year/4001 1325s ok 120 /date/year/4002 1325s ok 121 /date/year/4003 1325s # End of year tests 1325s # End of date tests 1325s ok - glib/date.test 1325s # Running test: glib/g-file-info.test 1325s TAP version 14 1325s # random seed: R02S7b30cafbe8e303ff83188caa59de90fc 1325s 1..6 1325s # Start of g-file-info tests 1325s ok 1 /g-file-info/test_g_file_info 1325s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1325s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1325s ok 2 /g-file-info/xattrs 1325s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1325s ok 3 /g-file-info/set-modified-date-time-precision 1325s # Start of test_g_file_info tests 1325s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1325s ok 4 /g-file-info/test_g_file_info/modification-time 1325s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1325s ok 5 /g-file-info/test_g_file_info/access-time 1325s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1325s ok 6 /g-file-info/test_g_file_info/creation-time 1325s # End of test_g_file_info tests 1325s # End of g-file-info tests 1325s ok - glib/g-file-info.test 1325s # Running test: glib/param.test 1325s TAP version 14 1325s # random seed: R02S22a683d18f10708bd85003d932ac8a8e 1326s 1..32 1326s # Start of param tests 1326s ok 1 /param/value 1326s ok 2 /param/strings 1326s ok 3 /param/qdata 1326s ok 4 /param/validate 1326s ok 5 /param/convert 1326s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1326s ok 7 /param/default 1326s ok 8 /param/is-valid-name 1326s # Start of invalid-name tests 1326s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1326s ok 9 /param/invalid-name/colon 1326s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1326s ok 10 /param/invalid-name/first-char 1326s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1326s ok 11 /param/invalid-name/empty 1326s # End of invalid-name tests 1326s # Start of implement tests 1326s # Start of subprocess tests 1326s # End of subprocess tests 1326s # End of implement tests 1326s # End of param tests 1326s # Start of value tests 1326s ok 12 /value/transform 1326s # End of value tests 1326s # Start of paramspec tests 1326s ok 13 /paramspec/char 1326s ok 14 /paramspec/uchar 1326s ok 15 /paramspec/int 1326s ok 16 /paramspec/uint 1326s ok 17 /paramspec/long 1326s ok 18 /paramspec/ulong 1326s ok 19 /paramspec/int64 1326s ok 20 /paramspec/uint64 1326s ok 21 /paramspec/float 1326s ok 22 /paramspec/double 1326s ok 23 /paramspec/unichar 1326s ok 24 /paramspec/param 1326s ok 25 /paramspec/null-param 1326s ok 26 /paramspec/string 1326s ok 27 /paramspec/override 1326s ok 28 /paramspec/gtype 1326s ok 29 /paramspec/variant 1326s ok 30 /paramspec/custom 1326s ok 31 /paramspec/pool 1326s # Start of variant tests 1326s ok 32 /paramspec/variant/cmp 1326s # End of variant tests 1326s # End of paramspec tests 1326s ok - glib/param.test 1326s # Running test: glib/memchunk.test 1326s TAP version 14 1326s # random seed: R02Sf670ba85b5748094f239af55f741bd27 1326s 1..1 1326s # Start of memchunk tests 1326s ok 1 /memchunk/basic 1326s # End of memchunk tests 1326s ok - glib/memchunk.test 1326s # Running test: glib/macros-c-99.test 1326s TAP version 14 1326s # random seed: R02Sb98de35e450b86d95268d54a87ae136d 1326s 1..4 1326s # Start of C tests 1326s ok 1 /C/standard-99 1326s # End of C tests 1326s # Start of alignof tests 1326s ok 2 /alignof/fallback 1326s # End of alignof tests 1326s # Start of assert tests 1326s ok 3 /assert/static 1326s # End of assert tests 1326s # Start of struct tests 1326s ok 4 /struct/sizeof_member 1326s # End of struct tests 1326s ok - glib/macros-c-99.test 1326s # Running test: glib/strvbuilder.test 1326s TAP version 14 1326s # random seed: R02S4999c42a068d3fdbe62b34f66a4f4db4 1326s 1..7 1326s # Start of strvbuilder tests 1326s ok 1 /strvbuilder/empty 1326s ok 2 /strvbuilder/add 1326s ok 3 /strvbuilder/addv 1326s ok 4 /strvbuilder/add_many 1326s ok 5 /strvbuilder/take 1326s ok 6 /strvbuilder/ref 1326s ok 7 /strvbuilder/unref_to_strv 1326s # End of strvbuilder tests 1326s ok - glib/strvbuilder.test 1326s # Running test: glib/socket-address.test 1326s TAP version 14 1326s # random seed: R02S50e4d19f119c5cf85d557cd946efa4c0 1326s 1..2 1326s # Start of socket tests 1326s # Start of address tests 1326s # Start of unix tests 1326s ok 1 /socket/address/unix/construct 1326s ok 2 /socket/address/unix/to-string 1326s # End of unix tests 1326s # End of address tests 1326s # End of socket tests 1326s ok - glib/socket-address.test 1326s # Running test: glib/gdbus-proxy-well-known-name.test 1326s TAP version 14 1326s # random seed: R02Sd9ebf1990c1cd9e62dce02257cff2461 1326s 1..1 1326s # Start of gdbus tests 1326s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/home 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/cache 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/system-config2 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/config 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/system-data2 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/data 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/state 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_MOQWZ2/gdbus/proxy-well-known-name/.dirs/runtime 1326s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1326s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1326s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1326s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1326s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1326s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1326s ok 1 /gdbus/proxy-well-known-name 1326s # End of gdbus tests 1326s ok - glib/gdbus-proxy-well-known-name.test 1326s # Running test: glib/gobject-private.test 1326s TAP version 14 1326s # random seed: R02Sb65d5cc8e04556f3c712450b901807df 1326s 1..3 1326s # Start of private tests 1326s ok 1 /private/instance 1326s ok 2 /private/derived-instance 1326s ok 3 /private/mixed-derived-instance 1326s # End of private tests 1326s ok - glib/gobject-private.test 1326s # Running test: glib/cxx-20.test 1326s TAP version 14 1326s # random seed: R02S28dd667753c71d96c3c8054aa4e41ff7 1326s 1..2 1326s # Start of gtask tests 1326s # 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. 1326s ok 1 /gtask/name 1326s # Start of name tests 1326s # 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. 1326s ok 2 /gtask/name/macro-wrapper 1326s # End of name tests 1326s # End of gtask tests 1326s ok - glib/cxx-20.test 1326s # Running test: glib/bytes.test 1326s TAP version 14 1326s # random seed: R02S8c3b7671fbf0120688ff9a5ad315d2d1 1326s 1..21 1326s # Start of bytes tests 1326s ok 1 /bytes/new 1326s ok 2 /bytes/new-take 1326s ok 3 /bytes/new-static 1326s ok 4 /bytes/new-with-free-func 1326s ok 5 /bytes/new-from-bytes 1326s ok 6 /bytes/new-from-bytes-slice 1326s ok 7 /bytes/new-from-bytes-shared-ref 1326s ok 8 /bytes/hash 1326s ok 9 /bytes/equal 1326s ok 10 /bytes/compare 1326s ok 11 /bytes/null 1326s ok 12 /bytes/get-region 1326s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1326s ok 13 /bytes/unref-null 1326s # Start of to-data tests 1326s ok 14 /bytes/to-data/transferred 1326s ok 15 /bytes/to-data/two-refs 1326s ok 16 /bytes/to-data/non-malloc 1326s ok 17 /bytes/to-data/different-free-func 1326s # End of to-data tests 1326s # Start of to-array tests 1326s ok 18 /bytes/to-array/transferred 1326s ok 19 /bytes/to-array/two-refs 1326s ok 20 /bytes/to-array/non-malloc 1326s # Start of transferred tests 1326s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1326s ok 21 /bytes/to-array/transferred/oversize 1326s # End of transferred tests 1326s # End of to-array tests 1326s # End of bytes tests 1326s ok - glib/bytes.test 1326s # Running test: glib/gdbus-connection-flush.test 1326s TAP version 14 1326s # random seed: R02S7113d18321bc72d05666db7147278c5a 1326s 1..2 1326s # Start of gdbus tests 1326s # Start of connection tests 1326s # Start of flush tests 1326s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/home 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/cache 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/system-config2 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/config 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/system-data2 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/data 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/state 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/busy/.dirs/runtime 1326s ok 1 /gdbus/connection/flush/busy 1326s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/home 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/cache 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/system-config2 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/config 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/system-data2 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/data 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/state 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_AXTXZ2/gdbus/connection/flush/idle/.dirs/runtime 1326s ok 2 /gdbus/connection/flush/idle 1326s # End of flush tests 1326s # End of connection tests 1326s # End of gdbus tests 1326s ok - glib/gdbus-connection-flush.test 1326s # Running test: glib/gdbus-proxy-threads.test 1326s TAP version 14 1326s # random seed: R02Sa81dffb6b4fb95414bf2837069133329 1326s 1..1 1326s # Start of gdbus tests 1326s # Start of proxy tests 1326s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/home 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/cache 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/system-config2 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/config 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/system-data2 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/data 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/state 1326s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_CVLYZ2/gdbus/proxy/vs-threads/.dirs/runtime 1326s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1327s ok 1 /gdbus/proxy/vs-threads 1327s # slow test /gdbus/proxy/vs-threads executed in 0.87 secs 1327s # End of proxy tests 1327s # End of gdbus tests 1327s cleaning up pid 6974 1327s ok - glib/gdbus-proxy-threads.test 1327s # Running test: glib/memory-monitor.test 1327s TAP version 14 1327s # random seed: R02S75e5120882badd789d516a787da1fcd9 1327s 1..1 1327s # Start of memory-monitor tests 1327s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1327s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1327s ok 1 /memory-monitor/default 1327s # End of memory-monitor tests 1327s ok - glib/memory-monitor.test 1327s # Running test: glib/cancellable.test 1327s TAP version 14 1327s # random seed: R02Sa6de992cf7d055430fd255c36fdebbb4 1327s 1..10 1327s # Start of cancellable tests 1327s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1327s ok 2 /cancellable/null 1327s # /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 1327s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1327s # /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 1327s ok 4 /cancellable/resets-on-cancel-callback-hangs 1327s ok 5 /cancellable/poll-fd 1327s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1327s ok 6 /cancellable/poll-fd-cancelled 1327s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1327s ok 7 /cancellable/poll-fd-cancelled-threaded 1327s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1327s ok 8 /cancellable/cancel-reset-races 1327s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1327s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 1327s # End of cancellable tests 1327s # Start of cancellable-source tests 1327s # /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) 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1328s ok 10 /cancellable-source/threaded-dispose 1328s # slow test /cancellable-source/threaded-dispose executed in 0.81 secs 1328s # End of cancellable-source tests 1328s ok - glib/cancellable.test 1328s # Running test: glib/vfs.test 1328s TAP version 14 1328s # random seed: R02S5509e94a3a6f3113aba7f2627982d519 1328s 1..3 1328s # Start of gvfs tests 1328s ok 1 /gvfs/local 1328s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1328s ok 2 /gvfs/register-scheme 1328s # Start of resource tests 1328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1328s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1328s ok 3 /gvfs/resource/malformed-escaping 1328s # End of resource tests 1328s # End of gvfs tests 1328s ok - glib/vfs.test 1328s # Running test: glib/gdbus-non-socket.test 1328s TAP version 14 1328s # random seed: R02S2cbca8fc1e5e5c88a5bde6dda22d4110 1328s 1..1 1328s # Start of gdbus tests 1328s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/home 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/cache 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/system-config2 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/config 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/system-data2 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/data 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/state 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_H20YZ2/gdbus/non-socket/.dirs/runtime 1328s ok 1 /gdbus/non-socket 1328s # End of gdbus tests 1328s ok - glib/gdbus-non-socket.test 1328s # Running test: glib/list.test 1328s TAP version 14 1328s # random seed: R02S26e31419d04fbea9f7a361430101bf8d 1328s 1..20 1328s # Start of list tests 1328s ok 1 /list/sort 1328s ok 2 /list/sort-with-data 1328s ok 3 /list/insert-before-link 1328s ok 4 /list/insert-sorted 1328s ok 5 /list/insert-sorted-with-data 1328s ok 6 /list/reverse 1328s ok 7 /list/nth 1328s ok 8 /list/concat 1328s ok 9 /list/remove 1328s ok 10 /list/remove-all 1328s ok 11 /list/first-last 1328s ok 12 /list/insert 1328s ok 13 /list/free-full 1328s ok 14 /list/copy 1328s ok 15 /list/copy-deep 1328s ok 16 /list/delete-link 1328s ok 17 /list/prepend 1328s ok 18 /list/position 1328s ok 19 /list/double-free 1328s # Start of sort tests 1328s ok 20 /list/sort/stable 1328s # End of sort tests 1328s # End of list tests 1328s ok - glib/list.test 1328s # Running test: glib/gdbus-sasl.test 1328s TAP version 14 1328s # random seed: R02S4858d54660a6bcc6d6e371a0ef73a8b7 1328s 1..1 1328s # Start of gdbus tests 1328s # Start of sasl tests 1328s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/home 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/cache 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/system-config2 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/config 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/system-data2 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/data 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/state 1328s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_TZUZZ2/gdbus/sasl/server/.dirs/runtime 1328s # New handshake: EXTERNAL with incorrect initial response 1328s # C:“AUTH EXTERNAL 30†1328s # Expect: /^REJECTED.*$/ 1328s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1328s # New handshake: EXTERNAL without initial response, failing to authenticate 1328s # C:“AUTH EXTERNAL†1328s # Expect: /^DATA$/ 1328s # S:“DATA†1328s # C:“DATA 30†1328s # Expect: /^REJECTED.*$/ 1328s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1328s # New handshake: EXTERNAL with initial response 1328s # C:“AUTH EXTERNAL 31303030†1328s # Expect: /^OK [0-9a-f]+$/ 1328s # S:“OK 59d7f6ff598176be7ef7b1bd67781322†1328s # New handshake: EXTERNAL without initial response 1328s # C:“AUTH EXTERNAL†1328s # Expect: /^DATA$/ 1328s # S:“DATA†1328s # C:“DATA 31303030†1328s # Expect: /^OK [0-9a-f]+$/ 1328s # S:“OK 59d7f6ff598176be7ef7b1bd67781322†1328s # New handshake: EXTERNAL with empty authorization identity 1328s # C:“AUTH EXTERNAL†1328s # Expect: /^DATA$/ 1328s # S:“DATA†1328s # C:“DATA†1328s # Expect: /^OK [0-9a-f]+$/ 1328s # S:“OK 59d7f6ff598176be7ef7b1bd67781322†1328s # New handshake: EXTERNAL with empty authorization identity and whitespace 1328s # C:“AUTH EXTERNAL†1328s # Expect: /^DATA$/ 1328s # S:“DATA†1328s # C:“DATA †1328s # Expect: /^OK [0-9a-f]+$/ 1328s # S:“OK 59d7f6ff598176be7ef7b1bd67781322†1328s ok 1 /gdbus/sasl/server 1328s # End of sasl tests 1328s # End of gdbus tests 1328s ok - glib/gdbus-sasl.test 1328s # Running test: glib/unix-streams.test 1328s TAP version 14 1328s # random seed: R02Sabb09715edc9a5f733c068408610ff81 1328s 1..9 1328s # Start of unix-streams tests 1328s ok 1 /unix-streams/basic 1328s # Executing: glib/unix-streams.test 1328s ok 2 /unix-streams/pipe-io-test 1328s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1329s ok 3 /unix-streams/nonblocking-io-test 1329s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1329s ok 4 /unix-streams/read_write 1329s ok 5 /unix-streams/read_writev 1329s ok 6 /unix-streams/write-wouldblock 1329s ok 7 /unix-streams/writev-wouldblock 1329s ok 8 /unix-streams/write-async-wouldblock 1329s ok 9 /unix-streams/writev-async-wouldblock 1329s # End of unix-streams tests 1329s ok - glib/unix-streams.test 1329s # Running test: glib/gdbus-connection-loss.test 1329s TAP version 14 1329s # random seed: R02S52a1d541758769d3dade804cc553585a 1329s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1329s 1..1 1329s # Start of gdbus tests 1329s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/home 1329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/cache 1329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/system-config2 1329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/config 1329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/system-data2 1329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/data 1329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/state 1329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_L11ZZ2/gdbus/connection-loss/.dirs/runtime 1329s ok 1 /gdbus/connection-loss 1329s # End of gdbus tests 1329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1329s ok - glib/gdbus-connection-loss.test 1329s # Running test: glib/environment.test 1329s TAP version 14 1329s # random seed: R02Sd5fd6c65dd8db6495b81e96d6a47194e 1329s 1..6 1329s # Start of environ tests 1329s # /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. 1329s ok 1 /environ/listenv 1329s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1329s ok 2 /environ/getenv 1329s ok 3 /environ/setenv 1329s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1329s ok 4 /environ/array 1329s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1329s ok 5 /environ/null 1329s # /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. 1329s ok 6 /environ/case 1329s # End of environ tests 1329s ok - glib/environment.test 1329s # Running test: glib/rwlock.test 1329s TAP version 14 1329s # random seed: R02Sa801c703daaafe0ced7f4ef82cc2a7ad 1329s 1..8 1329s # Start of thread tests 1329s ok 1 /thread/rwlock1 1329s ok 2 /thread/rwlock2 1329s ok 3 /thread/rwlock3 1329s ok 4 /thread/rwlock4 1329s ok 5 /thread/rwlock5 1329s ok 6 /thread/rwlock6 1333s # Executing: glib/rwlock.test 1334s ok 7 /thread/rwlock7 1334s # slow test /thread/rwlock7 executed in 5.16 secs 1334s ok 8 /thread/rwlock8 1334s # End of thread tests 1334s ok - glib/rwlock.test 1334s # Running test: glib/deprecated-properties.test 1334s TAP version 14 1334s # random seed: R02Sb6dbc6aabac58795ab4cc37c89138a05 1334s 1..3 1334s # Start of deprecated-properties tests 1334s ok 1 /deprecated-properties/construct 1334s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1334s ok 2 /deprecated-properties/default-construct 1334s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1334s ok 3 /deprecated-properties/set 1334s # End of deprecated-properties tests 1334s ok - glib/deprecated-properties.test 1334s # Running test: glib/atomic-c-11.test 1334s TAP version 14 1334s # random seed: R02Sb258ecfa871525a10594d6363d0657ce 1334s 1..2 1334s # Start of atomic tests 1334s ok 1 /atomic/types 1334s ok 2 /atomic/threaded 1334s # End of atomic tests 1334s ok - glib/atomic-c-11.test 1334s # Running test: glib/base64.test 1334s TAP version 14 1334s # random seed: R02Sdf0aa330779bcb2184acb72246c887c8 1334s 1..28 1334s # Start of base64 tests 1334s ok 1 /base64/encode 1334s ok 2 /base64/decode 1334s ok 3 /base64/decode-inplace 1334s ok 4 /base64/encode-decode 1334s # Start of full tests 1334s ok 5 /base64/full/1 1334s ok 6 /base64/full/2 1334s ok 7 /base64/full/3 1334s ok 8 /base64/full/4 1334s # End of full tests 1334s # Start of encode tests 1334s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1334s ok 9 /base64/encode/empty 1334s # Start of incremental tests 1334s # Start of small-block tests 1334s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1334s ok 10 /base64/encode/incremental/small-block/1 1334s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1334s ok 11 /base64/encode/incremental/small-block/2 1334s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1334s ok 12 /base64/encode/incremental/small-block/3 1334s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1334s ok 13 /base64/encode/incremental/small-block/4 1334s # End of small-block tests 1334s # End of incremental tests 1334s # End of encode tests 1334s # Start of incremental tests 1334s # Start of nobreak tests 1334s ok 14 /base64/incremental/nobreak/1 1334s ok 15 /base64/incremental/nobreak/2 1334s ok 16 /base64/incremental/nobreak/3 1334s ok 17 /base64/incremental/nobreak/4-a 1334s ok 18 /base64/incremental/nobreak/4-b 1334s ok 19 /base64/incremental/nobreak/4-c 1334s # End of nobreak tests 1334s # Start of break tests 1334s ok 20 /base64/incremental/break/1 1334s ok 21 /base64/incremental/break/2 1334s ok 22 /base64/incremental/break/3 1334s # End of break tests 1334s # Start of smallblock tests 1334s ok 23 /base64/incremental/smallblock/1 1334s ok 24 /base64/incremental/smallblock/2 1334s ok 25 /base64/incremental/smallblock/3 1334s ok 26 /base64/incremental/smallblock/4 1334s # End of smallblock tests 1334s # End of incremental tests 1334s # Start of decode tests 1334s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1334s ok 27 /base64/decode/empty 1334s # End of decode tests 1334s # Start of encode-decode tests 1334s # Vector 0: 1334s # Vector 1: f 1334s # Vector 2: fo 1334s # Vector 3: foo 1334s # Vector 4: foob 1334s # Vector 5: fooba 1334s # Vector 6: foobar 1334s ok 28 /base64/encode-decode/rfc4648 1334s # End of encode-decode tests 1334s # End of base64 tests 1334s ok - glib/base64.test 1334s # Running test: glib/gdatetime.test 1334s TAP version 14 1334s # random seed: R02Sffd9598e2137f0d311bcd7ae25481707 1334s 1..68 1334s # Start of GDateTime tests 1334s # Bug Reference: http://bugzilla.gnome.org/702674 1334s ok 1 /GDateTime/invalid 1334s ok 2 /GDateTime/add_days 1334s ok 3 /GDateTime/add_full 1334s ok 4 /GDateTime/add_hours 1334s ok 5 /GDateTime/add_minutes 1334s ok 6 /GDateTime/add_months 1334s ok 7 /GDateTime/add_seconds 1334s ok 8 /GDateTime/add_weeks 1334s ok 9 /GDateTime/add_years 1334s ok 10 /GDateTime/compare 1334s ok 11 /GDateTime/diff 1334s ok 12 /GDateTime/equal 1334s ok 13 /GDateTime/get_day_of_week 1334s ok 14 /GDateTime/get_day_of_month 1334s ok 15 /GDateTime/get_day_of_year 1334s ok 16 /GDateTime/get_hour 1334s ok 17 /GDateTime/get_microsecond 1334s ok 18 /GDateTime/get_minute 1334s ok 19 /GDateTime/get_month 1334s ok 20 /GDateTime/get_second 1334s ok 21 /GDateTime/get_utc_offset 1334s ok 22 /GDateTime/get_year 1334s ok 23 /GDateTime/hash 1334s ok 24 /GDateTime/new_from_unix 1334s ok 25 /GDateTime/new_from_unix_utc 1334s ok 26 /GDateTime/new_from_timeval 1334s ok 27 /GDateTime/new_from_timeval_utc 1334s ok 28 /GDateTime/new_from_iso8601 1334s ok 29 /GDateTime/new_full 1334s ok 30 /GDateTime/now 1334s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1334s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1334s # %a -> expected: Sat 1334s # %a -> actual: Sat 1334s # %A -> expected: Saturday 1334s # %A -> actual: Saturday 1334s # %b -> expected: Oct 1334s # %b -> actual: Oct 1334s # %B -> expected: October 1334s # %B -> actual: October 1334s # %d -> expected: 24 1334s # %d -> actual: 24 1334s # %d -> expected: 01 1334s # %d -> actual: 01 1334s # %e -> expected: 24 1334s # %e -> actual: 24 1334s # %e -> expected:  1 1334s # %e -> actual:  1 1334s # %f -> expected: 001000 1334s # %f -> actual: 001000 1334s # %h -> expected: Oct 1334s # %h -> actual: Oct 1334s # %H -> expected: 00 1334s # %H -> actual: 00 1334s # %H -> expected: 15 1334s # %H -> actual: 15 1334s # %I -> expected: 12 1334s # %I -> actual: 12 1334s # %I -> expected: 12 1334s # %I -> actual: 12 1334s # %I -> expected: 03 1334s # %I -> actual: 03 1334s # %j -> expected: 297 1334s # %j -> actual: 297 1334s # %k -> expected:  0 1334s # %k -> actual:  0 1334s # %k -> expected: 13 1334s # %k -> actual: 13 1334s # %l -> expected: 12 1334s # %l -> actual: 12 1334s # %I -> expected: 12 1334s # %I -> actual: 12 1334s # %l -> expected:  1 1334s # %l -> actual:  1 1334s # %l -> expected: 10 1334s # %l -> actual: 10 1334s # %m -> expected: 10 1334s # %m -> actual: 10 1334s # %M -> expected: 00 1334s # %M -> actual: 00 1334s # %p -> expected: AM 1334s # %p -> actual: AM 1334s # %p -> expected: PM 1334s # %p -> actual: PM 1334s # %P -> expected: am 1334s # %P -> actual: am 1334s # %P -> expected: pm 1334s # %P -> actual: pm 1334s # %r -> expected: 12:00:00 AM 1334s # %r -> actual: 12:00:00 AM 1334s # %r -> expected: 01:13:13 PM 1334s # %r -> actual: 01:13:13 PM 1334s # %R -> expected: 00:00 1334s # %R -> actual: 00:00 1334s # %R -> expected: 13:13 1334s # %R -> actual: 13:13 1334s # %S -> expected: 00 1334s # %S -> actual: 00 1334s # %t -> expected: 1334s # %t -> actual: 1334s # %u -> expected: 6 1334s # %u -> actual: 6 1334s # %x -> expected: 10/24/09 1334s # %x -> actual: 10/24/09 1334s # %X -> expected: 00:00:00 1334s # %X -> actual: 00:00:00 1334s # %X -> expected: 13:14:15 1334s # %X -> actual: 13:14:15 1334s # %y -> expected: 09 1334s # %y -> actual: 09 1334s # %Y -> expected: 2009 1334s # %Y -> actual: 2009 1334s # %% -> expected: % 1334s # %% -> actual: % 1334s # % -> expected: 1334s # % -> actual: 1334s # %9 -> expected: (null) 1334s # %9 -> actual: (null) 1334s # %Z -> expected: UTC 1334s # %Z -> actual: UTC 1334s ok 32 /GDateTime/printf 1334s # %a -> expected: ÅÚ 1334s # %a -> actual: ÅÚ 1334s # %A -> expected: ÅÚÍËÆü 1334s # %A -> actual: ÅÚÍËÆü 1334s # %b -> expected: 10·î 1334s # %b -> actual: 10·î 1334s # %B -> expected: 10·î 1334s # %B -> actual: 10·î 1334s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1334s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1334s # %C -> expected: 20 1334s # %C -> actual: 20 1334s # %d -> expected: 24 1334s # %d -> actual: 24 1334s # %d -> expected: 01 1334s # %d -> actual: 01 1334s # %e -> expected: 24 1334s # %e -> actual: 24 1334s # %h -> expected: 10·î 1334s # %h -> actual: 10·î 1334s # %H -> expected: 00 1334s # %H -> actual: 00 1334s # %H -> expected: 15 1334s # %H -> actual: 15 1334s # %I -> expected: 12 1334s # %I -> actual: 12 1334s # %I -> expected: 12 1334s # %I -> actual: 12 1334s # %I -> expected: 03 1334s # %I -> actual: 03 1334s # %j -> expected: 297 1334s # %j -> actual: 297 1334s # %k -> expected: ?0 1334s # %k -> actual: ?0 1334s # %k -> expected: 13 1334s # %k -> actual: 13 1334s # %l -> expected: 12 1334s # %l -> actual: 12 1334s # %I -> expected: 12 1334s # %I -> actual: 12 1334s # %l -> expected: ?1 1334s # %l -> actual: ?1 1334s # %l -> expected: 10 1334s # %l -> actual: 10 1334s # %m -> expected: 10 1334s # %m -> actual: 10 1334s # %M -> expected: 00 1334s # %M -> actual: 00 1334s # %p -> expected: ¸áÁ° 1334s # %p -> actual: ¸áÁ° 1334s # %p -> expected: ¸á¸å 1334s # %p -> actual: ¸á¸å 1334s # %P -> expected: ¸áÁ° 1334s # %P -> actual: ¸áÁ° 1334s # %P -> expected: ¸á¸å 1334s # %P -> actual: ¸á¸å 1334s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1334s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1334s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1334s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1334s # %R -> expected: 00:00 1334s # %R -> actual: 00:00 1334s # %R -> expected: 13:13 1334s # %R -> actual: 13:13 1334s # %S -> expected: 00 1334s # %S -> actual: 00 1334s # %t -> expected: 1334s # %t -> actual: 1334s # %u -> expected: 6 1334s # %u -> actual: 6 1334s # %x -> expected: 2009ǯ10·î24Æü 1334s # %x -> actual: 2009ǯ10·î24Æü 1334s # %X -> expected: 00»þ00ʬ00Éà 1334s # %X -> actual: 00»þ00ʬ00Éà 1334s # %X -> expected: 13»þ14ʬ15Éà 1334s # %X -> actual: 13»þ14ʬ15Éà 1334s # %y -> expected: 09 1334s # %y -> actual: 09 1334s # %Y -> expected: 2009 1334s # %Y -> actual: 2009 1334s # %% -> expected: % 1334s # %% -> actual: % 1334s # % -> expected: 1334s # % -> actual: 1334s # %9 -> expected: (null) 1334s # %9 -> actual: (null) 1334s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1334s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1334s # %EC -> expected: Ê¿À® 1334s # %EC -> actual: Ê¿À® 1334s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1334s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1334s # %EX -> expected: 00»þ00ʬ00Éà 1334s # %EX -> actual: 00»þ00ʬ00Éà 1334s # %Ey -> expected: 21 1334s # %Ey -> actual: 21 1334s # %EY -> expected: Ê¿À®21ǯ 1334s # %EY -> actual: Ê¿À®21ǯ 1334s ok 33 /GDateTime/non_utf8_printf 1334s # ???? -> expected: ???? 1334s # ???? -> actual: ???? 1334s # %H?%M -> expected: 23?15 1334s # %H?%M -> actual: 23?15 1334s # %H?%M -> expected: 23?15 1334s # %H?%M -> actual: 23?15 1334s ok 34 /GDateTime/format_unrepresentable 1334s ok 35 /GDateTime/format_iso8601 1334s ok 36 /GDateTime/strftime 1334s # %d -> expected: 01 1334s # %d -> actual: 01 1334s # %_d -> expected: 1 1334s # %_d -> actual: 1 1334s # %-d -> expected: 1 1334s # %-d -> actual: 1 1334s # %0d -> expected: 01 1334s # %0d -> actual: 01 1334s # %d -> expected: 21 1334s # %d -> actual: 21 1334s # %_d -> expected: 21 1334s # %_d -> actual: 21 1334s # %-d -> expected: 21 1334s # %-d -> actual: 21 1334s # %0d -> expected: 21 1334s # %0d -> actual: 21 1334s # %e -> expected:  1 1334s # %e -> actual:  1 1334s # %_e -> expected: 1 1334s # %_e -> actual: 1 1334s # %-e -> expected: 1 1334s # %-e -> actual: 1 1334s # %0e -> expected: 01 1334s # %0e -> actual: 01 1334s # %e -> expected: 21 1334s # %e -> actual: 21 1334s # %_e -> expected: 21 1334s # %_e -> actual: 21 1334s # %-e -> expected: 21 1334s # %-e -> actual: 21 1334s # %0e -> expected: 21 1334s # %0e -> actual: 21 1334s # %a -> expected: Thu 1334s # %a -> actual: Thu 1334s # %^a -> expected: THU 1334s # %^a -> actual: THU 1334s # %#a -> expected: THU 1334s # %#a -> actual: THU 1334s # %A -> expected: Thursday 1334s # %A -> actual: Thursday 1334s # %^A -> expected: THURSDAY 1334s # %^A -> actual: THURSDAY 1334s # %#A -> expected: THURSDAY 1334s # %#A -> actual: THURSDAY 1334s # %b -> expected: Jan 1334s # %b -> actual: Jan 1334s # %^b -> expected: JAN 1334s # %^b -> actual: JAN 1334s # %#b -> expected: JAN 1334s # %#b -> actual: JAN 1334s # %B -> expected: January 1334s # %B -> actual: January 1334s # %^B -> expected: JANUARY 1334s # %^B -> actual: JANUARY 1334s # %#B -> expected: JANUARY 1334s # %#B -> actual: JANUARY 1334s # %h -> expected: Jan 1334s # %h -> actual: Jan 1334s # %^h -> expected: JAN 1334s # %^h -> actual: JAN 1334s # %#h -> expected: JAN 1334s # %#h -> actual: JAN 1334s # %Z -> expected: UTC 1334s # %Z -> actual: UTC 1334s # %^Z -> expected: UTC 1334s # %^Z -> actual: UTC 1334s # %#Z -> expected: utc 1334s # %#Z -> actual: utc 1334s # %H -> expected: 01 1334s # %H -> actual: 01 1334s # %_H -> expected: 1 1334s # %_H -> actual: 1 1334s # %-H -> expected: 1 1334s # %-H -> actual: 1 1334s # %0H -> expected: 01 1334s # %0H -> actual: 01 1334s # %H -> expected: 21 1334s # %H -> actual: 21 1334s # %_H -> expected: 21 1334s # %_H -> actual: 21 1334s # %-H -> expected: 21 1334s # %-H -> actual: 21 1334s # %0H -> expected: 21 1334s # %0H -> actual: 21 1334s # %I -> expected: 01 1334s # %I -> actual: 01 1334s # %_I -> expected: 1 1334s # %_I -> actual: 1 1334s # %-I -> expected: 1 1334s # %-I -> actual: 1 1334s # %0I -> expected: 01 1334s # %0I -> actual: 01 1334s # %I -> expected: 11 1334s # %I -> actual: 11 1334s # %_I -> expected: 11 1334s # %_I -> actual: 11 1334s # %-I -> expected: 11 1334s # %-I -> actual: 11 1334s # %0I -> expected: 11 1334s # %0I -> actual: 11 1334s # %k -> expected:  1 1334s # %k -> actual:  1 1334s # %_k -> expected: 1 1334s # %_k -> actual: 1 1334s # %-k -> expected: 1 1334s # %-k -> actual: 1 1334s # %0k -> expected: 01 1334s # %0k -> actual: 01 1334s # %l -> expected:  1 1334s # %l -> actual:  1 1334s # %_l -> expected: 1 1334s # %_l -> actual: 1 1334s # %-l -> expected: 1 1334s # %-l -> actual: 1 1334s # %0l -> expected: 01 1334s # %0l -> actual: 01 1334s # %l -> expected: 11 1334s # %l -> actual: 11 1334s # %_l -> expected: 11 1334s # %_l -> actual: 11 1334s # %-l -> expected: 11 1334s # %-l -> actual: 11 1334s # %0l -> expected: 11 1334s # %0l -> actual: 11 1334s # %p -> expected: AM 1334s # %p -> actual: AM 1334s # %^p -> expected: AM 1334s # %^p -> actual: AM 1334s # %#p -> expected: am 1334s # %#p -> actual: am 1334s # %P -> expected: am 1334s # %P -> actual: am 1334s # %^P -> expected: AM 1334s # %^P -> actual: AM 1334s # %#P -> expected: am 1334s # %#P -> actual: am 1334s # %OH -> expected: Û²Û³ 1334s # %OH -> actual: Û²Û³ 1334s # %OI -> expected: Û±Û± 1334s # %OI -> actual: Û±Û± 1334s # %OM -> expected: Û°Û° 1334s # %OM -> actual: Û°Û° 1334s # %Om -> expected: Û°Û· 1334s # %Om -> actual: Û°Û· 1334s # %0Om -> expected: Û°Û· 1334s # %0Om -> actual: Û°Û· 1334s # %-Om -> expected: Û· 1334s # %-Om -> actual: Û· 1334s # %_Om -> expected: Û· 1334s # %_Om -> actual: Û· 1334s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1334s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1334s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1334s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1334s # %C -> expected: 20 1334s # %C -> actual: 20 1334s # %EC -> expected: 20 1334s # %EC -> actual: 20 1334s # %x -> expected: 02/01/09 1334s # %x -> actual: 02/01/09 1334s # %Ex -> expected: 02/01/09 1334s # %Ex -> actual: 02/01/09 1334s # %X -> expected: 01:02:03 1334s # %X -> actual: 01:02:03 1334s # %EX -> expected: 01:02:03 1334s # %EX -> actual: 01:02:03 1334s # %y -> expected: 09 1334s # %y -> actual: 09 1334s # %Ey -> expected: 09 1334s # %Ey -> actual: 09 1334s # %Y -> expected: 2009 1334s # %Y -> actual: 2009 1334s # %EY -> expected: 2009 1334s # %EY -> actual: 2009 1334s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1334s # Bug Reference: http://bugzilla.gnome.org/749206 1334s # %B -> expected: January 1334s # %B -> actual: January 1334s # %OB -> expected: February 1334s # %OB -> actual: February 1334s # %b -> expected: Mar 1334s # %b -> actual: Mar 1334s # %Ob -> expected: Apr 1334s # %Ob -> actual: Apr 1334s # %h -> expected: May 1334s # %h -> actual: May 1334s # %Oh -> expected: Jun 1334s # %Oh -> actual: Jun 1334s # %B -> expected: Juli 1334s # %B -> actual: Juli 1334s # %OB -> expected: August 1334s # %OB -> actual: August 1334s # %b -> expected: Sep 1334s # %b -> actual: Sep 1334s # %Ob -> expected: Okt 1334s # %Ob -> actual: Okt 1334s # %h -> expected: Nov 1334s # %h -> actual: Nov 1334s # %Oh -> expected: Dez 1334s # %Oh -> actual: Dez 1334s # %B -> expected: enero 1334s # %B -> actual: enero 1334s # %OB -> expected: febrero 1334s # %OB -> actual: febrero 1334s # %b -> expected: mar 1334s # %b -> actual: mar 1334s # %Ob -> expected: abr 1334s # %Ob -> actual: abr 1334s # %h -> expected: may 1334s # %h -> actual: may 1334s # %Oh -> expected: jun 1334s # %Oh -> actual: jun 1334s # %B -> expected: juillet 1334s # %B -> actual: juillet 1334s # %OB -> expected: août 1334s # %OB -> actual: août 1334s # %b -> expected: sept. 1334s # %b -> actual: sept. 1334s # %Ob -> expected: oct. 1334s # %Ob -> actual: oct. 1334s # %h -> expected: nov. 1334s # %h -> actual: nov. 1334s # %Oh -> expected: déc. 1334s # %Oh -> actual: déc. 1334s # %B -> expected: ΙανουαÏίου 1334s # %B -> actual: ΙανουαÏίου 1334s # %B -> expected: ΦεβÏουαÏίου 1334s # %B -> actual: ΦεβÏουαÏίου 1334s # %B -> expected: ΜαÏτίου 1334s # %B -> actual: ΜαÏτίου 1334s # %OB -> expected: ΑπÏίλιος 1334s # %OB -> actual: ΑπÏίλιος 1334s # %OB -> expected: Μάιος 1334s # %OB -> actual: Μάιος 1334s # %OB -> expected: ΙοÏνιος 1334s # %OB -> actual: ΙοÏνιος 1334s # %b -> expected: Ιουλ 1334s # %b -> actual: Ιουλ 1334s # %Ob -> expected: ΑÏγ 1334s # %Ob -> actual: ΑÏγ 1334s # %B -> expected: svibnja 1334s # %B -> actual: svibnja 1334s # %B -> expected: lipnja 1334s # %B -> actual: lipnja 1334s # %B -> expected: srpnja 1334s # %B -> actual: srpnja 1334s # %OB -> expected: Kolovoz 1334s # %OB -> actual: kolovoz 1334s # %OB -> expected: Rujan 1334s # %OB -> actual: rujan 1334s # %OB -> expected: Listopad 1334s # %OB -> actual: listopad 1334s # %b -> expected: Stu 1334s # %b -> actual: stu 1334s # %Ob -> expected: Pro 1334s # %Ob -> actual: pro 1334s # %B -> expected: sausio 1334s # %B -> actual: sausio 1334s # %B -> expected: vasario 1334s # %B -> actual: vasario 1334s # %B -> expected: kovo 1334s # %B -> actual: kovo 1334s # %OB -> expected: balandis 1334s # %OB -> actual: balandis 1334s # %OB -> expected: gegužė 1334s # %OB -> actual: gegužė 1334s # %OB -> expected: birželis 1334s # %OB -> actual: birželis 1334s # %b -> expected: liep. 1334s # %b -> actual: liep. 1334s # %Ob -> expected: rugp. 1334s # %Ob -> actual: rugp. 1334s # %B -> expected: maja 1334s # %B -> actual: maja 1334s # %B -> expected: czerwca 1334s # %B -> actual: czerwca 1334s # %B -> expected: lipca 1334s # %B -> actual: lipca 1334s # %OB -> expected: sierpieÅ„ 1334s # %OB -> actual: sierpieÅ„ 1334s # %OB -> expected: wrzesieÅ„ 1334s # %OB -> actual: wrzesieÅ„ 1334s # %OB -> expected: październik 1334s # %OB -> actual: październik 1334s # %b -> expected: lis 1334s # %b -> actual: lis 1334s # %Ob -> expected: gru 1334s # %Ob -> actual: gru 1334s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1334s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1334s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1334s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1334s # %B -> expected: марта 1334s # %B -> actual: марта 1334s # %OB -> expected: Ðпрель 1334s # %OB -> actual: Ðпрель 1334s # %OB -> expected: Май 1334s # %OB -> actual: Май 1334s # %OB -> expected: Июнь 1334s # %OB -> actual: Июнь 1334s # %b -> expected: июл 1334s # %b -> actual: июл 1334s # %Ob -> expected: авг 1334s # %Ob -> actual: авг 1334s # %b -> expected: Ð¼Ð°Ñ 1334s # %b -> actual: Ð¼Ð°Ñ 1334s # %Ob -> expected: май 1334s # %Ob -> actual: май 1334s ok 38 /GDateTime/month_names 1334s ok 39 /GDateTime/to_local 1335s ok 40 /GDateTime/to_unix 1335s ok 41 /GDateTime/to_timeval 1335s ok 42 /GDateTime/to_utc 1335s ok 43 /GDateTime/now_utc 1335s ok 44 /GDateTime/dst 1335s # Bug Reference: http://bugzilla.gnome.org/642935 1335s ok 45 /GDateTime/test_z 1335s ok 46 /GDateTime/test-all-dates 1335s # slow test /GDateTime/test-all-dates executed in 0.94 secs 1335s ok 47 /GDateTime/unix_usec 1335s # Start of new_from_unix tests 1335s # Bug Reference: http://bugzilla.gnome.org/782089 1335s ok 48 /GDateTime/new_from_unix/overflow 1335s # End of new_from_unix tests 1335s # Start of new_from_timeval tests 1335s # Bug Reference: http://bugzilla.gnome.org/782089 1335s # Maximum supported GTimeVal.tv_sec = 253402300799 1335s ok 49 /GDateTime/new_from_timeval/overflow 1335s # End of new_from_timeval tests 1335s # Start of new_from_iso8601 tests 1335s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1335s # Vector 0: 1990-11-01T10:21:17Z 1335s # Vector 1: 19901101T102117Z 1335s # Vector 2: 1970-01-01T00:00:17.12Z 1335s # Vector 3: 1970-01-01T00:00:17.1234Z 1335s # Vector 4: 1970-01-01T00:00:17.123456Z 1335s # Vector 5: 1980-02-22T12:36:00+02:00 1335s # Vector 6: 1990-12-31T15:59:60-08:00 1335s # Vector 7: 1335s # Vector 8: x 1335s # Vector 9: 123x 1335s # Vector 10: 2001-10+x 1335s # Vector 11: 1980-02-22T 1335s # Vector 12: 2001-10-08Tx 1335s # Vector 13: 2001-10-08T10:11x 1335s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1335s # Vector 15: 1980-02-22T10:36:00Zulu 1335s # Vector 16: 2T0+819855292164632335 1335s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1335s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1335s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1335s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1335s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1335s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1335s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1335s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1335s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1335s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1335s # Vector 27: 20180803T140805.446178377+0100 1335s # Vector 28: 21474836480803T140805.446178377+0100 1335s # Vector 29: 20181303T140805.446178377+0100 1335s # Vector 30: 20180003T140805.446178377+0100 1335s # Vector 31: 20180800T140805.446178377+0100 1335s # Vector 32: 20180832T140805.446178377+0100 1335s # Vector 33: 20180803T240805.446178377+0100 1335s # Vector 34: 20180803T146005.446178377+0100 1335s # Vector 35: 20180803T140863.446178377+0100 1335s # Vector 36: 20180803T140805.446178377+10000 1335s # Vector 37: -0005-01-01T00:00:00Z 1335s # Vector 38: 2018-08-06 1335s # Vector 39: 20180803T140805,446178377+0100 1335s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1335s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1335s # Vector 42: 1990-11-01T10:21:17 1335s # Vector 43: 1719W462 407777-07 1335s # Vector 44: 4011090 260528Z 1335s # Vector 45: 0000W011 228214-22 1335s ok 50 /GDateTime/new_from_iso8601/2 1335s # End of new_from_iso8601 tests 1335s # Start of format_mixed tests 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1335s # %b -> expected: mar 1335s # %b -> actual: Mar 1335s # %B -> expected: march 1335s # %B -> actual: March 1335s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1335s # %b -> expected: mar 1335s # %b -> actual: Mar 1335s # %B -> expected: march 1335s # %B -> actual: March 1335s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1335s # %b -> expected: Mär 1335s # %b -> actual: Mär 1335s # %B -> expected: März 1335s # %B -> actual: März 1335s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1335s # %b -> expected: Mär 1335s # %b -> actual: Mär 1335s # %B -> expected: März 1335s # %B -> actual: März 1335s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1335s # End of format_mixed tests 1335s # Start of strftime tests 1335s # %r -> expected: (null) 1335s # %r -> actual: (null) 1335s ok 55 /GDateTime/strftime/error_handling 1335s # End of strftime tests 1335s # Start of eras tests 1335s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1335s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1335s # %EC -> expected: 令和 1335s # %EC -> actual: 令和 1335s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1335s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1335s # %EX -> expected: 00時00分00秒 1335s # %EX -> actual: 00時00分00秒 1335s # %Ey -> expected: 05 1335s # %Ey -> actual: 05 1335s # %EY -> expected: 令和05å¹´ 1335s # %EY -> actual: 令和05å¹´ 1335s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1335s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1335s # %EC -> expected: å¹³æˆ 1335s # %EC -> actual: å¹³æˆ 1335s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1335s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1335s # %EX -> expected: 00時00分00秒 1335s # %EX -> actual: 00時00分00秒 1335s # %Ey -> expected: 31 1335s # %Ey -> actual: 31 1335s # %EY -> expected: å¹³æˆ31å¹´ 1335s # %EY -> actual: å¹³æˆ31å¹´ 1335s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1335s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1335s # %EC -> expected: 昭和 1335s # %EC -> actual: 昭和 1335s # %Ex -> expected: 昭和元年12月25æ—¥ 1335s # %Ex -> actual: 昭和元年12月25æ—¥ 1335s # %EX -> expected: 00時00分00秒 1335s # %EX -> actual: 00時00分00秒 1335s # %Ey -> expected: 01 1335s # %Ey -> actual: 01 1335s # %EY -> expected: 昭和元年 1335s # %EY -> actual: 昭和元年 1335s ok 56 /GDateTime/eras/japan 1335s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1335s # Vector 0: 1335s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1335s # 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å¹´ 1335s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1335s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1335s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 8: + 1335s # Vector 9: +: 1335s # Vector 10: +:: 1335s # Vector 11: +:200 1335s # Vector 12: +:2nonsense 1335s # Vector 13: +:2nonsense: 1335s # Vector 14: +:2: 1335s # Vector 15: +:2:: 1335s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1335s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1335s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1335s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1335s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1335s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1335s # Vector 28: +:2:2020/01/01 1335s # Vector 29: +:2:2020/01/01: 1335s # Vector 30: +:2:2020/01/01:: 1335s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1335s # Vector 32: +:2:2020/01/01:+* 1335s # Vector 33: +:2:2020/01/01:+*: 1335s # Vector 34: +:2:2020/01/01:+*:: 1335s # Vector 35: +:2:2020/01/01:+*:令和 1335s # Vector 36: +:2:2020/01/01:+*:令和: 1335s # Vector 37: +:2:2020/01/01:+*:令和:; 1335s ok 58 /GDateTime/eras/parsing 1335s # End of eras tests 1335s # End of GDateTime tests 1335s # Start of GTimeZone tests 1335s ok 59 /GTimeZone/find-interval 1335s ok 60 /GTimeZone/adjust-time 1335s ok 61 /GTimeZone/no-header 1335s ok 62 /GTimeZone/no-header-identifier 1335s ok 63 /GTimeZone/posix-parse 1335s # Bug Reference: http://bugzilla.gnome.org/697715 1335s ok 64 /GTimeZone/floating-point 1335s # System time zone identifier: Etc/UTC 1335s ok 65 /GTimeZone/identifier 1335s # Vector 0: -158400 1335s # Vector 1: -10000 1335s # Vector 2: -3600 1335s # Vector 3: -61 1335s # Vector 4: -60 1335s # Vector 5: -59 1335s # Vector 6: 0 1335s # Vector 7: 59 1335s # Vector 8: 60 1335s # Vector 9: 61 1335s # Vector 10: 3600 1335s # Vector 11: 10000 1335s # Vector 12: 158400 1335s ok 66 /GTimeZone/new-offset 1335s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1335s ok 67 /GTimeZone/parse-rfc8536 1335s # /GTimeZone/caching summary: GTimeZone instances are cached 1335s ok 68 /GTimeZone/caching 1335s # End of GTimeZone tests 1335s ok - glib/gdatetime.test 1335s # Running test: glib/sleepy-stream.test 1335s TAP version 14 1335s # random seed: R02S4c363ddd122fd6041e1eab6e3e140155 1335s 1..2 1335s # Start of filter-stream tests 1335s ok 1 /filter-stream/input 1335s ok 2 /filter-stream/async 1335s # End of filter-stream tests 1335s ok - glib/sleepy-stream.test 1335s # Running test: glib/macros.test 1335s TAP version 14 1335s # random seed: R02Sba485d8e0d26771c85113af91d7d6d9b 1335s 1..3 1335s # Start of alignof tests 1335s ok 1 /alignof/fallback 1335s # End of alignof tests 1335s # Start of assert tests 1335s ok 2 /assert/static 1335s # End of assert tests 1335s # Start of struct tests 1335s ok 3 /struct/sizeof_member 1335s # End of struct tests 1335s ok - glib/macros.test 1335s # Running test: glib/once.test 1335s TAP version 14 1335s # random seed: R02S34745ddf58e661ab18575e719971e9e8 1335s 1..5 1335s # Start of once tests 1335s # /once/single-threaded summary: Test g_once() usage from a single thread 1335s ok 1 /once/single-threaded 1335s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1335s ok 2 /once/multi-threaded 1335s # End of once tests 1335s # Start of once-init tests 1335s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1335s ok 3 /once-init/single-threaded 1335s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1335s ok 4 /once-init/multi-threaded 1335s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1335s ok 5 /once-init/string 1335s # End of once-init tests 1335s ok - glib/once.test 1335s # Running test: glib/utils-c-11.test 1335s TAP version 14 1335s # random seed: R02S88a38089c5952bfb6540dc413ea9ad6a 1335s 1..40 1335s # Start of utils tests 1335s ok 1 /utils/language-names 1335s ok 2 /utils/locale-variants 1335s ok 3 /utils/version 1335s ok 4 /utils/appname 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1335s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1335s ok 5 /utils/prgname-thread-safety 1335s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1335s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1335s ok 6 /utils/tmpdir 1335s ok 7 /utils/basic_bits 1335s ok 8 /utils/bits 1335s ok 9 /utils/swap 1335s ok 10 /utils/find-program 1335s ok 11 /utils/find-program-for-path 1335s ok 12 /utils/debug 1335s ok 13 /utils/codeset 1335s ok 14 /utils/codeset2 1335s ok 15 /utils/console-charset 1335s ok 16 /utils/gettext 1335s ok 17 /utils/username 1335s ok 18 /utils/realname 1335s ok 19 /utils/hostname 1335s ok 20 /utils/xdgdirs 1335s ok 21 /utils/specialdir 1335s # NAME: Ubuntu 1335s ok 22 /utils/os-info 1335s ok 23 /utils/clear-pointer 1335s ok 24 /utils/clear-pointer-cast 1335s ok 25 /utils/take-pointer 1335s ok 26 /utils/clear-source 1335s ok 27 /utils/misc-mem 1335s # /utils/aligned-mem summary: Aligned memory allocator 1335s # Alignment must not be zero 1335s # Alignment must be a power of two 1335s # Alignment must be a multiple of sizeof(void*) 1335s ok 28 /utils/aligned-mem 1335s # /utils/free-sized summary: Check that g_free_sized() works 1335s ok 29 /utils/free-sized 1335s ok 30 /utils/nullify 1335s ok 31 /utils/atexit 1335s ok 32 /utils/check-setuid 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1335s ok 33 /utils/int-limits 1335s ok 34 /utils/clear-list 1335s ok 35 /utils/clear-slist 1335s # Start of specialdir tests 1335s ok 36 /utils/specialdir/desktop 1335s # End of specialdir tests 1335s # Start of clear-pointer tests 1335s ok 37 /utils/clear-pointer/side-effects 1335s # End of clear-pointer tests 1335s # Start of aligned-mem tests 1335s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1335s ok 38 /utils/aligned-mem/alignment 1335s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1335s ok 39 /utils/aligned-mem/zeroed 1335s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1335s ok 40 /utils/aligned-mem/free-sized 1335s # Start of subprocess tests 1335s # End of subprocess tests 1335s # End of aligned-mem tests 1335s # End of utils tests 1335s ok - glib/utils-c-11.test 1335s # Running test: glib/timeout.test 1335s TAP version 14 1335s # random seed: R02S8410610af6d3b6d5365beb7b91fbbc41 1335s 1..5 1335s # Start of timeout tests 1335s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1338s ok 1 /timeout/seconds 1338s # slow test /timeout/seconds executed in 2.10 secs 1338s # Executing: glib/timeout.test 1340s ok 2 /timeout/seconds-once 1340s # slow test /timeout/seconds-once executed in 2.10 secs 1340s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1342s ok 3 /timeout/weeks-overflow 1342s # slow test /timeout/weeks-overflow executed in 2.10 secs 1342s ok 4 /timeout/far-future-ready-time 1343s # Executing: glib/timeout.test 1348s # Executing: glib/timeout.test 1352s ok 5 /timeout/rounding 1352s # slow test /timeout/rounding executed in 10.41 secs 1352s # End of timeout tests 1352s ok - glib/timeout.test 1352s # Running test: glib/portal-support-flatpak-network-only.test 1352s TAP version 14 1352s # random seed: R02Sd883942bded2ecacd5480ced539a11af 1352s 1..1 1352s # Start of portal-support tests 1352s # Start of flatpak tests 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/runtime 1352s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_GN5KZ2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1352s ok 1 /portal-support/flatpak/network 1352s # End of flatpak tests 1352s # End of portal-support tests 1352s ok - glib/portal-support-flatpak-network-only.test 1352s # Running test: glib/autoptr-girepository.test 1352s TAP version 14 1352s # random seed: R02S82d54fc3fac5375a4b4f212308f216a0 1352s 1..24 1352s # Start of autoptr tests 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/repository/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 1 /autoptr/repository 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/typelib/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 2 /autoptr/typelib 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/base-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 3 /autoptr/base-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/arg-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 4 /autoptr/arg-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callable-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 5 /autoptr/callable-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/callback-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 6 /autoptr/callback-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/constant-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 7 /autoptr/constant-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/enum-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 8 /autoptr/enum-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/field-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 9 /autoptr/field-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/flags-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 10 /autoptr/flags-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/function-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 11 /autoptr/function-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/interface-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 12 /autoptr/interface-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/object-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 13 /autoptr/object-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/property-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 14 /autoptr/property-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/registered-type-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 15 /autoptr/registered-type-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/signal-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 16 /autoptr/signal-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/struct-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 17 /autoptr/struct-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/type-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 18 /autoptr/type-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/union-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 19 /autoptr/union-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/value-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 20 /autoptr/value-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/autoptr/vfunc-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 21 /autoptr/vfunc-info 1352s # End of autoptr tests 1352s # Start of auto tests 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/auto/arg-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 22 /auto/arg-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/auto/type-info/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 23 /auto/type-info 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_0HBLZ2/auto/function-invoker/.dirs/runtime 1352s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1352s ok 24 /auto/function-invoker 1352s # End of auto tests 1352s ok - glib/autoptr-girepository.test 1352s # Running test: glib/debugcontroller.test 1352s TAP version 14 1352s # random seed: R02Sb2c1b94167dc61dddc2f177c12673500 1352s 1..3 1352s # Start of debug-controller tests 1352s # Start of dbus tests 1352s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1352s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1352s # GLib-GIO-DEBUG: Debug output enabled 1352s # GLib-GIO-DEBUG: Debug output disabled 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s ok 1 /debug-controller/dbus/basic 1352s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1352s ok 2 /debug-controller/dbus/duplicate 1352s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1352s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1352s # End of dbus tests 1352s # End of debug-controller tests 1352s ok - glib/debugcontroller.test 1352s # Running test: glib/socket.test 1352s TAP version 14 1352s # random seed: R02Sce6c4bec86acb6632dd0088094fb2a06 1352s 1..28 1352s # Start of socket tests 1353s # Executing: glib/socket.test 1353s ok 1 /socket/ipv4_sync 1353s # slow test /socket/ipv4_sync executed in 1.00 secs 1354s ok 2 /socket/ipv4_async 1354s # slow test /socket/ipv4_async executed in 1.00 secs 1354s ok 3 /socket/ipv6_sync 1354s ok 4 /socket/ipv6_async 1354s ok 5 /socket/ipv6_v4mapped 1355s ok 6 /socket/close_graceful 1355s # slow test /socket/close_graceful executed in 1.00 secs 1355s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1355s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1355s ok 8 /socket/fd_reuse 1355s ok 9 /socket/address 1355s ok 10 /socket/unix-from-fd 1355s ok 11 /socket/unix-connection 1355s ok 12 /socket/unix-connection-ancillary-data 1355s ok 13 /socket/source-postmortem 1355s ok 14 /socket/read_write 1355s ok 15 /socket/read_writev 1355s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1355s ok 16 /socket/receive_bytes 1355s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1355s ok 17 /socket/receive_bytes_from 1355s # Start of ipv4_sync tests 1355s ok 18 /socket/ipv4_sync/datagram 1355s # Start of datagram tests 1356s ok 19 /socket/ipv4_sync/datagram/timeouts 1356s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1356s # End of datagram tests 1356s # End of ipv4_sync tests 1356s # Start of ipv6_sync tests 1356s ok 20 /socket/ipv6_sync/datagram 1356s # Start of datagram tests 1357s ok 21 /socket/ipv6_sync/datagram/timeouts 1357s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1357s # End of datagram tests 1357s # End of ipv6_sync tests 1357s # Start of reuse tests 1357s ok 22 /socket/reuse/tcp 1357s ok 23 /socket/reuse/udp 1357s # End of reuse tests 1357s # Start of get_available tests 1358s ok 24 /socket/get_available/datagram 1358s ok 25 /socket/get_available/stream 1358s # End of get_available tests 1358s # Start of credentials tests 1358s # Supported on this OS: GCredentials:linux-ucred:pid=0 1358s ok 26 /socket/credentials/tcp_client 1358s # Supported on this OS: GCredentials:linux-ucred:pid=0 1358s ok 27 /socket/credentials/tcp_server 1358s # Supported on this OS: GCredentials:linux-ucred:pid=7423,uid=1000,gid=1000 1358s ok 28 /socket/credentials/unix_socketpair 1358s # End of credentials tests 1358s # End of socket tests 1358s ok - glib/socket.test 1358s # Running test: glib/type-flags.test 1358s TAP version 14 1358s # random seed: R02Sc6be7f5475f2ae1706c3a2477851a138 1358s 1..4 1358s # Start of type tests 1358s # Start of flags tests 1358s ok 1 /type/flags/interface 1358s ok 2 /type/flags/final 1358s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1358s ok 3 /type/flags/deprecated 1358s # Start of final tests 1358s ok 4 /type/flags/final/instance-check 1358s # End of final tests 1358s # End of flags tests 1358s # End of type tests 1358s ok - glib/type-flags.test 1358s # Running test: glib/cxx-03.test 1358s TAP version 14 1358s # random seed: R02S410c1bc901fd160c90078b5d76a1d106 1358s 1..2 1358s # Start of gtask tests 1358s # 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. 1358s ok 1 /gtask/name 1358s # Start of name tests 1358s # 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. 1358s ok 2 /gtask/name/macro-wrapper 1358s # End of name tests 1358s # End of gtask tests 1358s ok - glib/cxx-03.test 1358s # Running test: glib/convert.test 1358s TAP version 14 1358s # random seed: R02S791e892ee035c4f07ad48d83b42e3d3f 1358s 1..14 1358s # Start of conversion tests 1358s ok 1 /conversion/no-conv 1358s ok 2 /conversion/iconv-state 1358s ok 3 /conversion/illegal-sequence 1358s ok 4 /conversion/byte-order 1358s ok 5 /conversion/unicode 1358s ok 6 /conversion/filename-utf8 1358s ok 7 /conversion/filename-display 1358s ok 8 /conversion/convert-embedded-nul 1358s # Start of locale-to-utf8 tests 1358s ok 9 /conversion/locale-to-utf8/embedded-nul 1358s # Start of embedded-nul tests 1358s # Start of subprocess tests 1358s # End of subprocess tests 1358s # End of embedded-nul tests 1358s # End of locale-to-utf8 tests 1358s # Start of locale-from-utf8 tests 1358s ok 10 /conversion/locale-from-utf8/embedded-nul 1358s # Start of embedded-nul tests 1358s # Start of subprocess tests 1358s # End of subprocess tests 1358s # End of embedded-nul tests 1358s # End of locale-from-utf8 tests 1358s # Start of filename-to-utf8 tests 1358s ok 11 /conversion/filename-to-utf8/embedded-nul 1358s # Start of embedded-nul tests 1358s # Start of subprocess tests 1358s # End of subprocess tests 1358s # End of embedded-nul tests 1358s # End of filename-to-utf8 tests 1358s # Start of filename-from-utf8 tests 1358s ok 12 /conversion/filename-from-utf8/embedded-nul 1358s # Start of embedded-nul tests 1358s # Start of subprocess tests 1358s # End of subprocess tests 1358s # End of embedded-nul tests 1358s # End of filename-from-utf8 tests 1358s # Start of filename-from-uri tests 1358s ok 13 /conversion/filename-from-uri/query-is-ignored 1358s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1358s # End of filename-from-uri tests 1358s # End of conversion tests 1358s ok - glib/convert.test 1358s # Running test: glib/mainloop.test 1358s TAP version 14 1358s # random seed: R02Sfad018d7722aa5c967d9a96caa48f547 1358s 1..45 1358s # Start of maincontext tests 1358s ok 1 /maincontext/basic 1358s # Add same-priority sources: 16 1358s # Find each source: 2 1358s # Remove in random order: 40 1358s ok 2 /maincontext/nsources_same_priority 1358s # Add different-priority sources: 18 1358s # Find each source: 2 1358s # Remove in random order: 45 1358s ok 3 /maincontext/nsources_different_priority 1358s # Add sources from threads: 222 1358s # Remove sources from threads: 62 1358s ok 4 /maincontext/nsources_threadpool 1358s ok 5 /maincontext/source_finalization 1358s # /maincontext/idle-once summary: Test g_idle_add_once() works 1358s ok 6 /maincontext/idle-once 1358s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1358s # Executing: glib/mainloop.test 1358s ok 7 /maincontext/timeout-once 1358s # Start of source_finalization_from_source tests 1358s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 8 /maincontext/source_finalization_from_source/0 1358s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 9 /maincontext/source_finalization_from_source/1 1358s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 10 /maincontext/source_finalization_from_source/2 1358s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 11 /maincontext/source_finalization_from_source/3 1358s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 12 /maincontext/source_finalization_from_source/4 1358s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 13 /maincontext/source_finalization_from_source/5 1358s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 14 /maincontext/source_finalization_from_source/6 1358s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 15 /maincontext/source_finalization_from_source/7 1358s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 16 /maincontext/source_finalization_from_source/8 1358s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1358s ok 17 /maincontext/source_finalization_from_source/9 1358s # End of source_finalization_from_source tests 1358s # Start of source_finalization_from_dispatch tests 1358s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1358s ok 18 /maincontext/source_finalization_from_dispatch/0 1358s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1358s ok 19 /maincontext/source_finalization_from_dispatch/1 1358s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1358s ok 20 /maincontext/source_finalization_from_dispatch/2 1358s # End of source_finalization_from_dispatch tests 1358s # End of maincontext tests 1358s # Start of mainloop tests 1358s ok 21 /mainloop/basic 1358s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1358s ok 23 /mainloop/priorities 1359s ok 24 /mainloop/invoke 1359s # slow test /mainloop/invoke executed in 0.50 secs 1360s ok 25 /mainloop/child_sources 1360s # slow test /mainloop/child_sources executed in 1.19 secs 1362s ok 26 /mainloop/recursive_child_sources 1362s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 1362s ok 27 /mainloop/recursive_loop_child_sources 1362s ok 28 /mainloop/swapping_child_sources 1362s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1362s ok 29 /mainloop/blocked_child_sources 1363s ok 30 /mainloop/source_time 1363s # slow test /mainloop/source_time executed in 1.00 secs 1363s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1363s ok 31 /mainloop/overflow 1363s # Executing: glib/mainloop.test 1364s ok 32 /mainloop/ready-time 1364s # slow test /mainloop/ready-time executed in 0.50 secs 1364s ok 33 /mainloop/wakeup 1364s ok 34 /mainloop/remove-invalid 1364s ok 35 /mainloop/unref-while-pending 1364s ok 36 /mainloop/unix-fd 1364s # slow test /mainloop/unix-fd executed in 0.59 secs 1364s ok 37 /mainloop/unix-fd-source 1364s ok 38 /mainloop/source-unix-fd-api 1364s ok 39 /mainloop/wait 1364s ok 40 /mainloop/unix-file-poll 1364s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1364s ok 41 /mainloop/unix-fd-priority 1364s ok 42 /mainloop/nfds 1364s ok 43 /mainloop/steal-fd 1364s # Start of ownerless-polling tests 1364s ok 44 /mainloop/ownerless-polling/attach-first 1364s ok 45 /mainloop/ownerless-polling/pop-first 1364s # End of ownerless-polling tests 1364s # End of mainloop tests 1364s ok - glib/mainloop.test 1364s # Running test: glib/resolver-parsing.test 1364s TAP version 14 1364s # random seed: R02S00ce8905326ead47394440f8d49ba8d9 1364s 1..21 1364s # Start of gresolver tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/invalid-header/.dirs/runtime 1364s ok 1 /gresolver/invalid-header 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/record-ownership/.dirs/runtime 1364s ok 2 /gresolver/record-ownership 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/unknown-record-type/.dirs/runtime 1364s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1364s ok 3 /gresolver/unknown-record-type 1364s # Start of mx tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/valid/.dirs/runtime 1364s ok 4 /gresolver/mx/valid 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/.dirs/runtime 1364s ok 5 /gresolver/mx/invalid 1364s # Start of invalid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short/.dirs/runtime 1364s ok 6 /gresolver/mx/invalid/too-short 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/mx/invalid/too-short2/.dirs/runtime 1364s ok 7 /gresolver/mx/invalid/too-short2 1364s # End of invalid tests 1364s # End of mx tests 1364s # Start of ns tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/valid/.dirs/runtime 1364s ok 8 /gresolver/ns/valid 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/ns/invalid/.dirs/runtime 1364s ok 9 /gresolver/ns/invalid 1364s # End of ns tests 1364s # Start of soa tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/valid/.dirs/runtime 1364s ok 10 /gresolver/soa/valid 1364s # Start of invalid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/mname/.dirs/runtime 1364s ok 11 /gresolver/soa/invalid/mname 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/rname/.dirs/runtime 1364s ok 12 /gresolver/soa/invalid/rname 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/soa/invalid/too-short/.dirs/runtime 1364s ok 13 /gresolver/soa/invalid/too-short 1364s # End of invalid tests 1364s # End of soa tests 1364s # Start of srv tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/valid/.dirs/runtime 1364s ok 14 /gresolver/srv/valid 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/.dirs/runtime 1364s ok 15 /gresolver/srv/invalid 1364s # Start of invalid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short/.dirs/runtime 1364s ok 16 /gresolver/srv/invalid/too-short 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/srv/invalid/too-short2/.dirs/runtime 1364s ok 17 /gresolver/srv/invalid/too-short2 1364s # End of invalid tests 1364s # End of srv tests 1364s # Start of txt tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/.dirs/runtime 1364s ok 18 /gresolver/txt/valid 1364s # Start of valid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1364s ok 19 /gresolver/txt/valid/multiple-strings 1364s # End of valid tests 1364s # Start of invalid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/empty/.dirs/runtime 1364s ok 20 /gresolver/txt/invalid/empty 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_5VEPZ2/gresolver/txt/invalid/overflow/.dirs/runtime 1364s ok 21 /gresolver/txt/invalid/overflow 1364s # End of invalid tests 1364s # End of txt tests 1364s # End of gresolver tests 1364s ok - glib/resolver-parsing.test 1364s # Running test: glib/gdbus-subscribe.test 1364s TAP version 14 1364s # random seed: R02Sa88cc23ea7def32fe921b824e2b47b9e 1364s 1..24 1364s # Start of gdbus tests 1364s # Start of subscribe tests 1364s # Start of conn tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/simple/.dirs/runtime 1364s # subscriber is :1.0 1364s # service is :1.1 1364s # service 2 is :1.2 1364s # attacker is :1.3 1364s # Waiting for AddMatch to be processed 1364s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1364s # Step 0: emitting signal 1364s # Sender: service 1364s # Destination: (broadcast) 1364s # Path: /org/gtk/GDBus/ExampleInterface 1364s # Interface: org.gtk.GDBus.ExampleInterface 1364s # Member: Foo 1364s # Argument 0: (not a string) 1364s # Waiting for signal to reach message bus 1364s # Step 1: adding subscription 1364s # Sender: (any) 1364s # Path: /org/gtk/GDBus/ExampleInterface 1364s # Interface: org.gtk.GDBus.ExampleInterface 1364s # Member: (any) 1364s # String argument 0: (any) 1364s # Flags: 0 1364s # Subscribing via connection 1364s # Waiting for AddMatch to be processed 1364s # Step 2: emitting signal 1364s # Sender: service 1364s # Destination: (broadcast) 1364s # Path: /org/gtk/GDBus/ExampleInterface 1364s # Interface: org.gtk.GDBus.ExampleInterface 1364s # Member: Foo 1364s # Argument 0: (not a string) 1364s # Waiting for signal to reach message bus 1364s # Signal received from service :1.1 1364s # Signal received from service :1.1 via connection 1364s # Path: /org/gtk/GDBus/ExampleInterface 1364s # Interface: org.gtk.GDBus.ExampleInterface 1364s # Member: Foo 1364s # Argument 0: (not a string) 1364s # Sent in step: 2 1364s # Received Finished signal from subscriber :1.0 1364s # Received Finished signal from service :1.1 1364s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 1 /gdbus/subscribe/conn/simple 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1365s # Step 0: adding subscription 1365s # Sender: (any) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: service 2 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 3: emitting signal 1365s # Sender: service 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 4: emitting signal 1365s # Sender: service 2 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 1 1365s # Signal received from service 2 :1.2 1365s # Signal received from service 2 :1.2 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 2 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 3 1365s # Signal received from service 2 :1.2 1365s # Signal received from service 2 :1.2 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/match_twice/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1365s # Step 0: adding subscription 1365s # Sender: service :1.1 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 1: adding subscription 1365s # Sender: (any) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: (any) 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 2: adding subscription 1365s # Sender: (any) 1365s # Path: (any) 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 3: adding subscription 1365s # Sender: service :1.1 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 4: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 3 /gdbus/subscribe/conn/match_twice 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1365s # Step 0: adding subscription 1365s # Sender: service :1.1 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 3: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 3 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1365s # Step 0: adding subscription 1365s # Sender: :0.this.had.better.not.exist 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /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 1365s # Step 0: claiming bus name 1365s # Name: org.gtk.Test.AlreadyOwned 1365s # Owner: service 1365s # Step 1: adding subscription 1365s # Sender: org.gtk.Test.AlreadyOwned 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 2: adding subscription 1365s # Sender: org.gtk.Test.OwnedLater 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 3: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 4: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 5: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 6: claiming bus name 1365s # Name: org.gtk.Test.OwnedLater 1365s # Owner: service 1365s # Step 7: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 5 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 7 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 7 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1365s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1365s # Step 0: adding subscription 1365s # Sender: org.freedesktop.DBus 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # String argument 0: would I lie to you? 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # Waiting for signal to reach message bus 1365s # Step 3: claiming bus name 1365s # Name: org.gtk.Test.OwnedLater 1365s # Owner: service 1365s # Signal received from message bus org.freedesktop.DBus 1365s # Signal received from (unused) org.freedesktop.DBus via connection 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1365s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1365s # Step 0: claiming bus name 1365s # Name: org.gtk.Test.AlreadyOwned 1365s # Owner: service 1365s # Step 1: adding subscription 1365s # Sender: org.gtk.Test.AlreadyOwned 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Immediately unsubscribing 1365s # Waiting for AddMatch to be processed 1365s # Step 2: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1365s # End of conn tests 1365s # Start of proxy tests 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/simple/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1365s # Step 0: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 1: adding subscription 1365s # Sender: (any) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Cannot subscribe via proxy: no bus name 1365s # Waiting for AddMatch to be processed 1365s # Step 2: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 9 /gdbus/subscribe/proxy/simple 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1365s # Step 0: adding subscription 1365s # Sender: (any) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Cannot subscribe via proxy: no bus name 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: service 2 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 3: emitting signal 1365s # Sender: service 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 4: emitting signal 1365s # Sender: service 2 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1365s # Step 0: adding subscription 1365s # Sender: service :1.1 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 1: adding subscription 1365s # Sender: (any) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: (any) 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Cannot subscribe via proxy: no bus name 1365s # Waiting for AddMatch to be processed 1365s # Step 2: adding subscription 1365s # Sender: (any) 1365s # Path: (any) 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Cannot subscribe via proxy: no bus name 1365s # Waiting for AddMatch to be processed 1365s # Step 3: adding subscription 1365s # Sender: service :1.1 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 4: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 11 /gdbus/subscribe/proxy/match_twice 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1365s # Step 0: adding subscription 1365s # Sender: service :1.1 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 3: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 3 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1365s # Step 0: adding subscription 1365s # Sender: :0.this.had.better.not.exist 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /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 1365s # Step 0: claiming bus name 1365s # Name: org.gtk.Test.AlreadyOwned 1365s # Owner: service 1365s # Step 1: adding subscription 1365s # Sender: org.gtk.Test.AlreadyOwned 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 2: adding subscription 1365s # Sender: org.gtk.Test.OwnedLater 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 3: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 4: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 5: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 6: claiming bus name 1365s # Name: org.gtk.Test.OwnedLater 1365s # Owner: service 1365s # Step 7: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 5 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 7 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 7 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1365s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1365s # Step 0: adding subscription 1365s # Sender: org.freedesktop.DBus 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # String argument 0: would I lie to you? 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # Waiting for signal to reach message bus 1365s # Step 3: claiming bus name 1365s # Name: org.gtk.Test.OwnedLater 1365s # Owner: service 1365s # Signal received from message bus org.freedesktop.DBus 1365s # Signal received from (unused) org.freedesktop.DBus via proxy 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1365s # Step 0: claiming bus name 1365s # Name: org.gtk.Test.AlreadyOwned 1365s # Owner: service 1365s # Step 1: adding subscription 1365s # Sender: org.gtk.Test.AlreadyOwned 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 2: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 2 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1365s # End of proxy tests 1365s # Start of parallel tests 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/simple/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1365s # Step 0: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 1: adding subscription 1365s # Sender: (any) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Cannot subscribe via proxy: no bus name 1365s # Waiting for AddMatch to be processed 1365s # Step 2: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 2 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 17 /gdbus/subscribe/parallel/simple 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1365s # Step 0: adding subscription 1365s # Sender: (any) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Cannot subscribe via proxy: no bus name 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: service 2 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 3: emitting signal 1365s # Sender: service 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 4: emitting signal 1365s # Sender: service 2 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 1 1365s # Signal received from service 2 :1.2 1365s # Signal received from service 2 :1.2 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 2 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 3 1365s # Signal received from service 2 :1.2 1365s # Signal received from service 2 :1.2 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1365s # Step 0: adding subscription 1365s # Sender: service :1.1 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 1: adding subscription 1365s # Sender: (any) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: (any) 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Cannot subscribe via proxy: no bus name 1365s # Waiting for AddMatch to be processed 1365s # Step 2: adding subscription 1365s # Sender: (any) 1365s # Path: (any) 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Cannot subscribe via proxy: no bus name 1365s # Waiting for AddMatch to be processed 1365s # Step 3: adding subscription 1365s # Sender: service :1.1 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 4: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 4 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1365s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 19 /gdbus/subscribe/parallel/match_twice 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1365s # Step 0: adding subscription 1365s # Sender: service :1.1 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 3: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 3 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 3 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1365s # Step 0: adding subscription 1365s # Sender: :0.this.had.better.not.exist 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /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 1365s # Step 0: claiming bus name 1365s # Name: org.gtk.Test.AlreadyOwned 1365s # Owner: service 1365s # Step 1: adding subscription 1365s # Sender: org.gtk.Test.AlreadyOwned 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 2: adding subscription 1365s # Sender: org.gtk.Test.OwnedLater 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 3: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 4: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 5: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Step 6: claiming bus name 1365s # Name: org.gtk.Test.OwnedLater 1365s # Owner: service 1365s # Step 7: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 5 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 5 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 7 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 7 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via connection 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 7 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 7 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1365s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1365s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1365s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1365s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1365s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1365s # Step 0: adding subscription 1365s # Sender: org.freedesktop.DBus 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 1: emitting signal 1365s # Sender: attacker 1365s # Destination: (broadcast) 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # String argument 0: would I lie to you? 1365s # Waiting for signal to reach message bus 1365s # Step 2: emitting signal 1365s # Sender: attacker 1365s # Destination: subscriber :1.0 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # Waiting for signal to reach message bus 1365s # Step 3: claiming bus name 1365s # Name: org.gtk.Test.OwnedLater 1365s # Owner: service 1365s # Signal received from message bus org.freedesktop.DBus 1365s # Signal received from (unused) org.freedesktop.DBus via connection 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # Signal received from message bus org.freedesktop.DBus 1365s # Signal received from (unused) org.freedesktop.DBus via proxy 1365s # Path: /org/freedesktop/DBus 1365s # Interface: org.freedesktop.DBus 1365s # Member: NameOwnerChanged 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1365s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1365s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MCUPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # subscriber is :1.0 1365s # service is :1.1 1365s # service 2 is :1.2 1365s # attacker is :1.3 1365s # Waiting for AddMatch to be processed 1365s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1365s # Step 0: claiming bus name 1365s # Name: org.gtk.Test.AlreadyOwned 1365s # Owner: service 1365s # Step 1: adding subscription 1365s # Sender: org.gtk.Test.AlreadyOwned 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: (any) 1365s # String argument 0: (any) 1365s # Flags: 0 1365s # Subscribing via connection 1365s # Immediately unsubscribing 1365s # Subscribing via proxy 1365s # Waiting for AddMatch to be processed 1365s # Step 2: emitting signal 1365s # Sender: service 1365s # Destination: (broadcast) 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Waiting for signal to reach message bus 1365s # Signal received from service :1.1 1365s # Signal received from service :1.1 via proxy 1365s # Path: /org/gtk/GDBus/ExampleInterface 1365s # Interface: org.gtk.GDBus.ExampleInterface 1365s # Member: Foo 1365s # Argument 0: (not a string) 1365s # Sent in step: 2 1365s # Received Finished signal from subscriber :1.0 1365s # Received Finished signal from service :1.1 1365s # Received Finished signal from service 2 :1.2 1365s # Received Finished signal from attacker :1.3 1365s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1365s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1365s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1365s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1365s # End of parallel tests 1365s # End of subscribe tests 1365s # End of gdbus tests 1365s ok - glib/gdbus-subscribe.test 1365s # Running test: glib/utils-c-89.test 1365s TAP version 14 1365s # random seed: R02S8e53eeb665a6563bbb1c4f6fd47d36fe 1365s 1..40 1365s # Start of utils tests 1365s ok 1 /utils/language-names 1365s ok 2 /utils/locale-variants 1365s ok 3 /utils/version 1365s ok 4 /utils/appname 1365s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1365s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1365s ok 5 /utils/prgname-thread-safety 1365s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1365s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1365s ok 6 /utils/tmpdir 1365s ok 7 /utils/basic_bits 1365s ok 8 /utils/bits 1365s ok 9 /utils/swap 1365s ok 10 /utils/find-program 1365s ok 11 /utils/find-program-for-path 1365s ok 12 /utils/debug 1365s ok 13 /utils/codeset 1365s ok 14 /utils/codeset2 1365s ok 15 /utils/console-charset 1365s ok 16 /utils/gettext 1365s ok 17 /utils/username 1365s ok 18 /utils/realname 1365s ok 19 /utils/hostname 1365s ok 20 /utils/xdgdirs 1365s ok 21 /utils/specialdir 1365s # NAME: Ubuntu 1365s ok 22 /utils/os-info 1365s ok 23 /utils/clear-pointer 1365s ok 24 /utils/clear-pointer-cast 1365s ok 25 /utils/take-pointer 1365s ok 26 /utils/clear-source 1365s ok 27 /utils/misc-mem 1365s # /utils/aligned-mem summary: Aligned memory allocator 1365s # Alignment must not be zero 1365s # Alignment must be a power of two 1365s # Alignment must be a multiple of sizeof(void*) 1365s ok 28 /utils/aligned-mem 1365s # /utils/free-sized summary: Check that g_free_sized() works 1365s ok 29 /utils/free-sized 1365s ok 30 /utils/nullify 1365s ok 31 /utils/atexit 1365s ok 32 /utils/check-setuid 1365s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1365s ok 33 /utils/int-limits 1365s ok 34 /utils/clear-list 1365s ok 35 /utils/clear-slist 1365s # Start of specialdir tests 1365s ok 36 /utils/specialdir/desktop 1365s # End of specialdir tests 1365s # Start of clear-pointer tests 1365s ok 37 /utils/clear-pointer/side-effects 1365s # End of clear-pointer tests 1365s # Start of aligned-mem tests 1365s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1365s ok 38 /utils/aligned-mem/alignment 1365s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1365s ok 39 /utils/aligned-mem/zeroed 1365s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1365s ok 40 /utils/aligned-mem/free-sized 1365s # Start of subprocess tests 1365s # End of subprocess tests 1365s # End of aligned-mem tests 1365s # End of utils tests 1365s ok - glib/utils-c-89.test 1365s # Running test: glib/codegen.py.test 1365s TAP version 13 1365s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1365s # tmpdir: /tmp/tmp0gnrp_et 1365s # codegen: /usr/bin/gdbus-codegen 1365s # /tmp/tmp0gnrp_et/tmp5aqc8ljo.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0gnrp_et/tmp5aqc8ljo.xml', '--output', '-', '--header'] 1365s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1365s # Output: /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifndef __STDOUT__ 1365s # #define __STDOUT__ 1365s # 1365s # #include 1365s # 1365s # G_BEGIN_DECLS 1365s # 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # /* Declarations for org.project.UsefulInterface */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1365s # 1365s # struct _OrgProjectUsefulInterface; 1365s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1365s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1365s # 1365s # struct _OrgProjectUsefulInterfaceIface 1365s # { 1365s # GTypeInterface parent_iface; 1365s # 1365s # gboolean (*handle_useful_method) ( 1365s # OrgProjectUsefulInterface *object, 1365s # GDBusMethodInvocation *invocation); 1365s # 1365s # }; 1365s # 1365s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1365s # 1365s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1365s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1365s # 1365s # 1365s # /* D-Bus method call completion functions: */ 1365s # void org_project_useful_interface_complete_useful_method ( 1365s # OrgProjectUsefulInterface *object, 1365s # GDBusMethodInvocation *invocation); 1365s # 1365s # 1365s # 1365s # /* D-Bus method calls: */ 1365s # void org_project_useful_interface_call_useful_method ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # 1365s # gboolean org_project_useful_interface_call_useful_method_finish ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # 1365s # gboolean org_project_useful_interface_call_useful_method_sync ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # 1365s # 1365s # /* ---- */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1365s # 1365s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1365s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1365s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1365s # 1365s # struct _OrgProjectUsefulInterfaceProxy 1365s # { 1365s # /*< private >*/ 1365s # GDBusProxy parent_instance; 1365s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1365s # }; 1365s # 1365s # struct _OrgProjectUsefulInterfaceProxyClass 1365s # { 1365s # GDBusProxyClass parent_class; 1365s # }; 1365s # 1365s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1365s # 1365s # #if GLIB_CHECK_VERSION(2, 44, 0) 1365s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1365s # #endif 1365s # 1365s # void org_project_useful_interface_proxy_new ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # void org_project_useful_interface_proxy_new_for_bus ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # 1365s # /* ---- */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1365s # 1365s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1365s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1365s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1365s # 1365s # struct _OrgProjectUsefulInterfaceSkeleton 1365s # { 1365s # /*< private >*/ 1365s # GDBusInterfaceSkeleton parent_instance; 1365s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1365s # }; 1365s # 1365s # struct _OrgProjectUsefulInterfaceSkeletonClass 1365s # { 1365s # GDBusInterfaceSkeletonClass parent_class; 1365s # }; 1365s # 1365s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1365s # 1365s # #if GLIB_CHECK_VERSION(2, 44, 0) 1365s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1365s # #endif 1365s # 1365s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1365s # 1365s # 1365s # G_END_DECLS 1365s # 1365s # #endif /* __STDOUT__ */ 1365s # /tmp/tmp0gnrp_et/tmp7ay33ev4.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0gnrp_et/tmp7ay33ev4.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1365s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1365s # Output: /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifndef __STDOUT__ 1365s # #define __STDOUT__ 1365s # 1365s # #include 1365s # 1365s # G_BEGIN_DECLS 1365s # 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # /* Declarations for org.project.UsefulInterface */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1365s # 1365s # struct _OrgProjectUsefulInterface; 1365s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1365s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1365s # 1365s # struct _OrgProjectUsefulInterfaceIface 1365s # { 1365s # GTypeInterface parent_iface; 1365s # 1365s # gboolean (*handle_useful_method) ( 1365s # OrgProjectUsefulInterface *object, 1365s # GDBusMethodInvocation *invocation); 1365s # 1365s # }; 1365s # 1365s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1365s # 1365s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1365s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1365s # 1365s # 1365s # /* D-Bus method call completion functions: */ 1365s # void org_project_useful_interface_complete_useful_method ( 1365s # OrgProjectUsefulInterface *object, 1365s # GDBusMethodInvocation *invocation); 1365s # 1365s # 1365s # 1365s # /* D-Bus method calls: */ 1365s # void org_project_useful_interface_call_useful_method ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # 1365s # gboolean org_project_useful_interface_call_useful_method_finish ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # 1365s # gboolean org_project_useful_interface_call_useful_method_sync ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # 1365s # 1365s # /* ---- */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1365s # 1365s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1365s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1365s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1365s # 1365s # struct _OrgProjectUsefulInterfaceProxy 1365s # { 1365s # /*< private >*/ 1365s # GDBusProxy parent_instance; 1365s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1365s # }; 1365s # 1365s # struct _OrgProjectUsefulInterfaceProxyClass 1365s # { 1365s # GDBusProxyClass parent_class; 1365s # }; 1365s # 1365s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1365s # 1365s # #if GLIB_CHECK_VERSION(2, 44, 0) 1365s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1365s # #endif 1365s # 1365s # void org_project_useful_interface_proxy_new ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # void org_project_useful_interface_proxy_new_for_bus ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # 1365s # /* ---- */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1365s # 1365s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1365s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1365s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1365s # 1365s # struct _OrgProjectUsefulInterfaceSkeleton 1365s # { 1365s # /*< private >*/ 1365s # GDBusInterfaceSkeleton parent_instance; 1365s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1365s # }; 1365s # 1365s # struct _OrgProjectUsefulInterfaceSkeletonClass 1365s # { 1365s # GDBusInterfaceSkeletonClass parent_class; 1365s # }; 1365s # 1365s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1365s # 1365s # #if GLIB_CHECK_VERSION(2, 44, 0) 1365s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1365s # #endif 1365s # 1365s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1365s # 1365s # 1365s # G_END_DECLS 1365s # 1365s # #endif /* __STDOUT__ */ 1365s # /tmp/tmp0gnrp_et/tmpia6963pu.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0gnrp_et/tmpia6963pu.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1365s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1365s # Output: /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifndef __STDOUT__ 1365s # #define __STDOUT__ 1365s # 1365s # #include 1365s # 1365s # G_BEGIN_DECLS 1365s # 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # /* Declarations for org.project.UsefulInterface */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1365s # 1365s # struct _OrgProjectUsefulInterface; 1365s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1365s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1365s # 1365s # struct _OrgProjectUsefulInterfaceIface 1365s # { 1365s # GTypeInterface parent_iface; 1365s # 1365s # gboolean (*handle_useful_method) ( 1365s # OrgProjectUsefulInterface *object, 1365s # GDBusMethodInvocation *invocation); 1365s # 1365s # }; 1365s # 1365s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1365s # 1365s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1365s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1365s # 1365s # 1365s # /* D-Bus method call completion functions: */ 1365s # void org_project_useful_interface_complete_useful_method ( 1365s # OrgProjectUsefulInterface *object, 1365s # GDBusMethodInvocation *invocation); 1365s # 1365s # 1365s # 1365s # /* D-Bus method calls: */ 1365s # void org_project_useful_interface_call_useful_method ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GDBusCallFlags call_flags, 1365s # gint timeout_msec, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # 1365s # gboolean org_project_useful_interface_call_useful_method_finish ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # 1365s # gboolean org_project_useful_interface_call_useful_method_sync ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GDBusCallFlags call_flags, 1365s # gint timeout_msec, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # 1365s # 1365s # /* ---- */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1365s # 1365s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1365s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1365s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1365s # 1365s # struct _OrgProjectUsefulInterfaceProxy 1365s # { 1365s # /*< private >*/ 1365s # GDBusProxy parent_instance; 1365s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1365s # }; 1365s # 1365s # struct _OrgProjectUsefulInterfaceProxyClass 1365s # { 1365s # GDBusProxyClass parent_class; 1365s # }; 1365s # 1365s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1365s # 1365s # #if GLIB_CHECK_VERSION(2, 44, 0) 1365s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1365s # #endif 1365s # 1365s # void org_project_useful_interface_proxy_new ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # void org_project_useful_interface_proxy_new_for_bus ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # 1365s # /* ---- */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1365s # 1365s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1365s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1365s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1365s # 1365s # struct _OrgProjectUsefulInterfaceSkeleton 1365s # { 1365s # /*< private >*/ 1365s # GDBusInterfaceSkeleton parent_instance; 1365s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1365s # }; 1365s # 1365s # struct _OrgProjectUsefulInterfaceSkeletonClass 1365s # { 1365s # GDBusInterfaceSkeletonClass parent_class; 1365s # }; 1365s # 1365s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1365s # 1365s # #if GLIB_CHECK_VERSION(2, 44, 0) 1365s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1365s # #endif 1365s # 1365s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1365s # 1365s # 1365s # G_END_DECLS 1365s # 1365s # #endif /* __STDOUT__ */ 1366s ok 2 __main__.TestCodegen.test_dbus_types 1366s # tmpdir: /tmp/tmp2254oe1e 1366s # codegen: /usr/bin/gdbus-codegen 1366s # /tmp/tmp2254oe1e/tmpxgyo4cnx.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmpxgyo4cnx.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmp2s8kvod2.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmp2s8kvod2.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmpj8sf7erp.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmpj8sf7erp.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmp9gews9x9.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmp9gews9x9.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmpsjes7d1m.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmpsjes7d1m.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmp97q2b5k8.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmp97q2b5k8.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmp31uctb8e.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmp31uctb8e.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmpc8f0ol2z.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmpc8f0ol2z.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmpf5pog14a.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmpf5pog14a.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmp9p2wcty3.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmp9p2wcty3.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmpntamxz3r.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmpntamxz3r.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmpci3gz2lg.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmpci3gz2lg.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmp24awff3z.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmp24awff3z.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # /tmp/tmp2254oe1e/tmpo2huc93e.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmpo2huc93e.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifdef HAVE_CONFIG_H 1366s # # include "config.h" 1366s # #endif 1366s # 1366s # #include 1366s # #ifdef G_OS_UNIX 1366s # # include 1366s # #endif 1366s # 1366s # #ifdef G_ENABLE_DEBUG 1366s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1366s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1366s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1366s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1366s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1366s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1366s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1366s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1366s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1366s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1366s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1366s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1366s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1366s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1366s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1366s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1366s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1366s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1366s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1366s # #else /* !G_ENABLE_DEBUG */ 1366s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1366s # * Do not access GValues directly in your code. Instead, use the 1366s # * g_value_get_*() functions 1366s # */ 1366s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1366s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1366s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1366s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1366s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1366s # #endif /* !G_ENABLE_DEBUG */ 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusArgInfo parent_struct; 1366s # gboolean use_gvariant; 1366s # } _ExtendedGDBusArgInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusMethodInfo parent_struct; 1366s # const gchar *signal_name; 1366s # gboolean pass_fdlist; 1366s # } _ExtendedGDBusMethodInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusSignalInfo parent_struct; 1366s # const gchar *signal_name; 1366s # } _ExtendedGDBusSignalInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusPropertyInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # guint use_gvariant : 1; 1366s # guint emits_changed_signal : 1; 1366s # } _ExtendedGDBusPropertyInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusInterfaceInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # } _ExtendedGDBusInterfaceInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # guint prop_id; 1366s # GValue orig_value; /* the value before the change */ 1366s # } ChangedProperty; 1366s # 1366s # static void 1366s # _changed_property_free (ChangedProperty *data) 1366s # { 1366s # g_value_unset (&data->orig_value); 1366s # g_free (data); 1366s # } 1366s # 1366s # static gboolean 1366s # _g_strv_equal0 (gchar **a, gchar **b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # guint n; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # if (g_strv_length (a) != g_strv_length (b)) 1366s # goto out; 1366s # for (n = 0; a[n] != NULL; n++) 1366s # if (g_strcmp0 (a[n], b[n]) != 0) 1366s # goto out; 1366s # ret = TRUE; 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _g_variant_equal0 (GVariant *a, GVariant *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # ret = g_variant_equal (a, b); 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # G_GNUC_UNUSED static gboolean 1366s # _g_value_equal (const GValue *a, const GValue *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1366s # switch (G_VALUE_TYPE (a)) 1366s # { 1366s # case G_TYPE_BOOLEAN: 1366s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1366s # break; 1366s # case G_TYPE_UCHAR: 1366s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1366s # break; 1366s # case G_TYPE_INT: 1366s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1366s # break; 1366s # case G_TYPE_UINT: 1366s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1366s # break; 1366s # case G_TYPE_INT64: 1366s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1366s # break; 1366s # case G_TYPE_UINT64: 1366s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1366s # break; 1366s # case G_TYPE_DOUBLE: 1366s # { 1366s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1366s # gdouble da = g_value_get_double (a); 1366s # gdouble db = g_value_get_double (b); 1366s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1366s # } 1366s # break; 1366s # case G_TYPE_STRING: 1366s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1366s # break; 1366s # case G_TYPE_VARIANT: 1366s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1366s # break; 1366s # default: 1366s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1366s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1366s # else 1366s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1366s # break; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ 1366s # * Code for interface GoodTypes 1366s # * ------------------------------------------------------------------------ 1366s # */ 1366s # 1366s # /** 1366s # * SECTION:GoodTypes 1366s # * @title: GoodTypes 1366s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1366s # * 1366s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1366s # */ 1366s # 1366s # /* ---- Introspection data for GoodTypes ---- */ 1366s # 1366s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "GoodPropertyType", 1366s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1366s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1366s # NULL 1366s # }, 1366s # "good-property-type", 1366s # FALSE, 1366s # TRUE 1366s # }; 1366s # 1366s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1366s # { 1366s # &_good_types_property_info_good_property_type.parent_struct, 1366s # NULL 1366s # }; 1366s # 1366s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "GoodTypes", 1366s # NULL, 1366s # NULL, 1366s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1366s # NULL 1366s # }, 1366s # "good-types", 1366s # }; 1366s # 1366s # 1366s # /** 1366s # * good_types_interface_info: 1366s # * 1366s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1366s # * 1366s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1366s # */ 1366s # GDBusInterfaceInfo * 1366s # good_types_interface_info (void) 1366s # { 1366s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1366s # } 1366s # 1366s # /** 1366s # * good_types_override_properties: 1366s # * @klass: The class structure for a #GObject derived class. 1366s # * @property_id_begin: The property id to assign to the first overridden property. 1366s # * 1366s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1366s # * The properties are overridden in the order they are defined. 1366s # * 1366s # * Returns: The last property id. 1366s # */ 1366s # guint 1366s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1366s # { 1366s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1366s # return property_id_begin - 1; 1366s # } 1366s # 1366s # 1366s # 1366s # /** 1366s # * GoodTypes: 1366s # * 1366s # * Abstract interface type for the D-Bus interface GoodTypes. 1366s # */ 1366s # 1366s # /** 1366s # * GoodTypesIface: 1366s # * @parent_iface: The parent interface. 1366s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1366s # * 1366s # * Virtual table for the D-Bus interface GoodTypes. 1366s # */ 1366s # 1366s # typedef GoodTypesIface GoodTypesInterface; 1366s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1366s # 1366s # static void 1366s # good_types_default_init (GoodTypesIface *iface) 1366s # { 1366s # /* GObject properties for D-Bus properties: */ 1366s # /** 1366s # * GoodTypes:good-property-type: 1366s # * 1366s # * Represents the D-Bus property "GoodPropertyType". 1366s # * 1366s # * 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. 1366s # */ 1366s # g_object_interface_install_property (iface, 1366s # 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)); 1366s # } 1366s # 1366s # /** 1366s # * good_types_get_good_property_type: (skip) 1366s # * @object: A GoodTypes. 1366s # * 1366s # * Gets the value of the "GoodPropertyType" D-Bus property. 1366s # * 1366s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1366s # * 1366s # * 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. 1366s # * 1366s # * 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. 1366s # */ 1366s # GVariant * 1366s # good_types_get_good_property_type (GoodTypes *object) 1366s # { 1366s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1366s # 1366s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1366s # } 1366s # 1366s # /** 1366s # * good_types_dup_good_property_type: (skip) 1366s # * @object: A GoodTypes. 1366s # * 1366s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1366s # * 1366s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1366s # * 1366s # * 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(). 1366s # */ 1366s # GVariant * 1366s # good_types_dup_good_property_type (GoodTypes *object) 1366s # { 1366s # GVariant *value; 1366s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1366s # return value; 1366s # } 1366s # 1366s # /** 1366s # * good_types_set_good_property_type: (skip) 1366s # * @object: A GoodTypes. 1366s # * @value: The value to set. 1366s # * 1366s # * Sets the "GoodPropertyType" D-Bus property to @value. 1366s # * 1366s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1366s # */ 1366s # void 1366s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1366s # { 1366s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * GoodTypesProxy: 1366s # * 1366s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * GoodTypesProxyClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for GoodTypesProxy. 1366s # */ 1366s # 1366s # struct _GoodTypesProxyPrivate 1366s # { 1366s # GData *qdata; 1366s # }; 1366s # 1366s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1366s # G_ADD_PRIVATE (GoodTypesProxy) 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # good_types_proxy_finalize (GObject *object) 1366s # { 1366s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1366s # g_datalist_clear (&proxy->priv->qdata); 1366s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_get_property (GObject *object, 1366s # guint prop_id, 1366s # GValue *value, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *variant; 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1366s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1366s # if (info->use_gvariant) 1366s # { 1366s # g_value_set_variant (value, variant); 1366s # } 1366s # else 1366s # { 1366s # if (variant != NULL) 1366s # g_dbus_gvariant_to_gvalue (variant, value); 1366s # } 1366s # if (variant != NULL) 1366s # g_variant_unref (variant); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1366s # GAsyncResult *res, 1366s # gpointer user_data) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info = user_data; 1366s # GError *error; 1366s # GVariant *_ret; 1366s # error = NULL; 1366s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1366s # if (!_ret) 1366s # { 1366s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1366s # info->parent_struct.name, 1366s # error->message, g_quark_to_string (error->domain), error->code); 1366s # g_error_free (error); 1366s # } 1366s # else 1366s # { 1366s # g_variant_unref (_ret); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_set_property (GObject *object, 1366s # guint prop_id, 1366s # const GValue *value, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *variant; 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1366s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1366s # "org.freedesktop.DBus.Properties.Set", 1366s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1366s # g_variant_unref (variant); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_g_signal (GDBusProxy *proxy, 1366s # const gchar *sender_name G_GNUC_UNUSED, 1366s # const gchar *signal_name, 1366s # GVariant *parameters) 1366s # { 1366s # _ExtendedGDBusSignalInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # gsize n; 1366s # guint signal_id; 1366s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1366s # if (info == NULL) 1366s # return; 1366s # num_params = g_variant_n_children (parameters); 1366s # paramv = g_new0 (GValue, num_params + 1); 1366s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1366s # g_value_set_object (¶mv[0], proxy); 1366s # g_variant_iter_init (&iter, parameters); 1366s # n = 1; 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1366s # g_signal_emitv (paramv, signal_id, 0, NULL); 1366s # for (n = 0; n < num_params + 1; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1366s # GVariant *changed_properties, 1366s # const gchar *const *invalidated_properties) 1366s # { 1366s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1366s # guint n; 1366s # const gchar *key; 1366s # GVariantIter *iter; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # g_variant_get (changed_properties, "a{sv}", &iter); 1366s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1366s # g_datalist_remove_data (&proxy->priv->qdata, key); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # g_variant_iter_free (iter); 1366s # for (n = 0; invalidated_properties[n] != NULL; n++) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1366s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # } 1366s # 1366s # static GVariant * 1366s # good_types_proxy_get_good_property_type (GoodTypes *object) 1366s # { 1366s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1366s # GVariant *variant; 1366s # GVariant *value = NULL; 1366s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1366s # value = variant; 1366s # if (variant != NULL) 1366s # g_variant_unref (variant); 1366s # return value; 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_init (GoodTypesProxy *proxy) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1366s # #else 1366s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1366s # #endif 1366s # 1366s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusProxyClass *proxy_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = good_types_proxy_finalize; 1366s # gobject_class->get_property = good_types_proxy_get_property; 1366s # gobject_class->set_property = good_types_proxy_set_property; 1366s # 1366s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1366s # proxy_class->g_signal = good_types_proxy_g_signal; 1366s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1366s # 1366s # good_types_override_properties (gobject_class, 1); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_iface_init (GoodTypesIface *iface) 1366s # { 1366s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1366s # * 1366s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # good_types_proxy_new ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with good_types_proxy_new(). 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_sync: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_sync ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /** 1366s # * good_types_proxy_new_for_bus: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1366s # * 1366s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # good_types_proxy_new_for_bus ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_for_bus_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_for_bus_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_for_bus_sync: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_for_bus_sync ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * GoodTypesSkeleton: 1366s # * 1366s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * GoodTypesSkeletonClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for GoodTypesSkeleton. 1366s # */ 1366s # 1366s # struct _GoodTypesSkeletonPrivate 1366s # { 1366s # GValue *properties; 1366s # GList *changed_properties; 1366s # GSource *changed_properties_idle_source; 1366s # GMainContext *context; 1366s # GMutex lock; 1366s # }; 1366s # 1366s # static void 1366s # _good_types_skeleton_handle_method_call ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name, 1366s # const gchar *method_name, 1366s # GVariant *parameters, 1366s # GDBusMethodInvocation *invocation, 1366s # gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # _ExtendedGDBusMethodInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # guint num_extra; 1366s # gsize n; 1366s # guint signal_id; 1366s # GValue return_value = G_VALUE_INIT; 1366s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1366s # g_assert (info != NULL); 1366s # num_params = g_variant_n_children (parameters); 1366s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1366s # n = 0; 1366s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1366s # g_value_set_object (¶mv[n++], skeleton); 1366s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1366s # g_value_set_object (¶mv[n++], invocation); 1366s # if (info->pass_fdlist) 1366s # { 1366s # #ifdef G_OS_UNIX 1366s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1366s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1366s # #else 1366s # g_assert_not_reached (); 1366s # #endif 1366s # } 1366s # g_variant_iter_init (&iter, parameters); 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1366s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1366s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1366s # if (!g_value_get_boolean (&return_value)) 1366s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1366s # g_value_unset (&return_value); 1366s # for (n = 0; n < num_params + num_extra; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static GVariant * 1366s # _good_types_skeleton_handle_get_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *ret; 1366s # ret = NULL; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # g_value_init (&value, pspec->value_type); 1366s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_value_unset (&value); 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _good_types_skeleton_handle_set_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GVariant *variant, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # gboolean ret; 1366s # ret = FALSE; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # if (info->use_gvariant) 1366s # g_value_set_variant (&value, variant); 1366s # else 1366s # g_dbus_gvariant_to_gvalue (variant, &value); 1366s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # g_value_unset (&value); 1366s # ret = TRUE; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1366s # { 1366s # _good_types_skeleton_handle_method_call, 1366s # _good_types_skeleton_handle_get_property, 1366s # _good_types_skeleton_handle_set_property, 1366s # {NULL} 1366s # }; 1366s # 1366s # static GDBusInterfaceInfo * 1366s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return good_types_interface_info (); 1366s # } 1366s # 1366s # static GDBusInterfaceVTable * 1366s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1366s # } 1366s # 1366s # static GVariant * 1366s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1366s # 1366s # GVariantBuilder builder; 1366s # guint n; 1366s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # if (_good_types_interface_info.parent_struct.properties == NULL) 1366s # goto out; 1366s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1366s # { 1366s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1366s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1366s # { 1366s # GVariant *value; 1366s # 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); 1366s # if (value != NULL) 1366s # { 1366s # g_variant_take_ref (value); 1366s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1366s # g_variant_unref (value); 1366s # } 1366s # } 1366s # } 1366s # out: 1366s # return g_variant_builder_end (&builder); 1366s # } 1366s # 1366s # static gboolean _good_types_emit_changed (gpointer user_data); 1366s # 1366s # static void 1366s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1366s # gboolean emit_changed = FALSE; 1366s # 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # { 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # skeleton->priv->changed_properties_idle_source = NULL; 1366s # emit_changed = TRUE; 1366s # } 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # 1366s # if (emit_changed) 1366s # _good_types_emit_changed (skeleton); 1366s # } 1366s # 1366s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_ADD_PRIVATE (GoodTypesSkeleton) 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # good_types_skeleton_finalize (GObject *object) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # guint n; 1366s # for (n = 0; n < 1; n++) 1366s # g_value_unset (&skeleton->priv->properties[n]); 1366s # g_free (skeleton->priv->properties); 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # g_main_context_unref (skeleton->priv->context); 1366s # g_mutex_clear (&skeleton->priv->lock); 1366s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_get_property (GObject *object, 1366s # guint prop_id, 1366s # GValue *value, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # } 1366s # 1366s # static gboolean 1366s # _good_types_emit_changed (gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # GList *l; 1366s # GVariantBuilder builder; 1366s # GVariantBuilder invalidated_builder; 1366s # guint num_changes; 1366s # 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1366s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1366s # { 1366s # ChangedProperty *cp = l->data; 1366s # GVariant *variant; 1366s # const GValue *cur_value; 1366s # 1366s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1366s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1366s # { 1366s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1366s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1366s # g_variant_unref (variant); 1366s # num_changes++; 1366s # } 1366s # } 1366s # if (num_changes > 0) 1366s # { 1366s # GList *connections, *ll; 1366s # GVariant *signal_variant; 1366s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1366s # &builder, &invalidated_builder)); 1366s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1366s # for (ll = connections; ll != NULL; ll = ll->next) 1366s # { 1366s # GDBusConnection *connection = ll->data; 1366s # 1366s # g_dbus_connection_emit_signal (connection, 1366s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1366s # "org.freedesktop.DBus.Properties", 1366s # "PropertiesChanged", 1366s # signal_variant, 1366s # NULL); 1366s # } 1366s # g_variant_unref (signal_variant); 1366s # g_list_free_full (connections, g_object_unref); 1366s # } 1366s # else 1366s # { 1366s # g_variant_builder_clear (&builder); 1366s # g_variant_builder_clear (&invalidated_builder); 1366s # } 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # skeleton->priv->changed_properties = NULL; 1366s # skeleton->priv->changed_properties_idle_source = NULL; 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # return FALSE; 1366s # } 1366s # 1366s # static void 1366s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1366s # { 1366s # ChangedProperty *cp; 1366s # GList *l; 1366s # cp = NULL; 1366s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1366s # { 1366s # ChangedProperty *i_cp = l->data; 1366s # if (i_cp->info == info) 1366s # { 1366s # cp = i_cp; 1366s # break; 1366s # } 1366s # } 1366s # if (cp == NULL) 1366s # { 1366s # cp = g_new0 (ChangedProperty, 1); 1366s # cp->prop_id = prop_id; 1366s # cp->info = info; 1366s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1366s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1366s # g_value_copy (orig_value, &cp->orig_value); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_notify (GObject *object, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # if (skeleton->priv->changed_properties != NULL && 1366s # skeleton->priv->changed_properties_idle_source == NULL) 1366s # { 1366s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1366s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1366s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1366s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1366s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1366s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1366s # } 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_set_property (GObject *object, 1366s # guint prop_id, 1366s # const GValue *value, 1366s # GParamSpec *pspec) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # g_object_freeze_notify (object); 1366s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1366s # { 1366s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1366s # info->emits_changed_signal) 1366s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1366s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1366s # g_object_notify_by_pspec (object, pspec); 1366s # } 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # g_object_thaw_notify (object); 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1366s # #else 1366s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1366s # #endif 1366s # 1366s # g_mutex_init (&skeleton->priv->lock); 1366s # skeleton->priv->context = g_main_context_ref_thread_default (); 1366s # skeleton->priv->properties = g_new0 (GValue, 1); 1366s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1366s # } 1366s # 1366s # static GVariant * 1366s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # GVariant *value; 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # return value; 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusInterfaceSkeletonClass *skeleton_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = good_types_skeleton_finalize; 1366s # gobject_class->get_property = good_types_skeleton_get_property; 1366s # gobject_class->set_property = good_types_skeleton_set_property; 1366s # gobject_class->notify = good_types_skeleton_notify; 1366s # 1366s # 1366s # good_types_override_properties (gobject_class, 1); 1366s # 1366s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1366s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1366s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1366s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1366s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1366s # { 1366s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1366s # } 1366s # 1366s # /** 1366s # * good_types_skeleton_new: 1366s # * 1366s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1366s # */ 1366s # GoodTypes * 1366s # good_types_skeleton_new (void) 1366s # { 1366s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1366s # } 1366s # /tmp/tmp2254oe1e/tmp3_f57inq.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmp3_f57inq.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifdef HAVE_CONFIG_H 1366s # # include "config.h" 1366s # #endif 1366s # 1366s # #include 1366s # #ifdef G_OS_UNIX 1366s # # include 1366s # #endif 1366s # 1366s # #ifdef G_ENABLE_DEBUG 1366s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1366s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1366s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1366s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1366s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1366s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1366s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1366s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1366s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1366s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1366s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1366s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1366s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1366s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1366s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1366s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1366s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1366s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1366s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1366s # #else /* !G_ENABLE_DEBUG */ 1366s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1366s # * Do not access GValues directly in your code. Instead, use the 1366s # * g_value_get_*() functions 1366s # */ 1366s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1366s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1366s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1366s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1366s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1366s # #endif /* !G_ENABLE_DEBUG */ 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusArgInfo parent_struct; 1366s # gboolean use_gvariant; 1366s # } _ExtendedGDBusArgInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusMethodInfo parent_struct; 1366s # const gchar *signal_name; 1366s # gboolean pass_fdlist; 1366s # } _ExtendedGDBusMethodInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusSignalInfo parent_struct; 1366s # const gchar *signal_name; 1366s # } _ExtendedGDBusSignalInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusPropertyInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # guint use_gvariant : 1; 1366s # guint emits_changed_signal : 1; 1366s # } _ExtendedGDBusPropertyInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusInterfaceInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # } _ExtendedGDBusInterfaceInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # guint prop_id; 1366s # GValue orig_value; /* the value before the change */ 1366s # } ChangedProperty; 1366s # 1366s # static void 1366s # _changed_property_free (ChangedProperty *data) 1366s # { 1366s # g_value_unset (&data->orig_value); 1366s # g_free (data); 1366s # } 1366s # 1366s # static gboolean 1366s # _g_strv_equal0 (gchar **a, gchar **b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # guint n; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # if (g_strv_length (a) != g_strv_length (b)) 1366s # goto out; 1366s # for (n = 0; a[n] != NULL; n++) 1366s # if (g_strcmp0 (a[n], b[n]) != 0) 1366s # goto out; 1366s # ret = TRUE; 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _g_variant_equal0 (GVariant *a, GVariant *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # ret = g_variant_equal (a, b); 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # G_GNUC_UNUSED static gboolean 1366s # _g_value_equal (const GValue *a, const GValue *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1366s # switch (G_VALUE_TYPE (a)) 1366s # { 1366s # case G_TYPE_BOOLEAN: 1366s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1366s # break; 1366s # case G_TYPE_UCHAR: 1366s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1366s # break; 1366s # case G_TYPE_INT: 1366s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1366s # break; 1366s # case G_TYPE_UINT: 1366s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1366s # break; 1366s # case G_TYPE_INT64: 1366s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1366s # break; 1366s # case G_TYPE_UINT64: 1366s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1366s # break; 1366s # case G_TYPE_DOUBLE: 1366s # { 1366s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1366s # gdouble da = g_value_get_double (a); 1366s # gdouble db = g_value_get_double (b); 1366s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1366s # } 1366s # break; 1366s # case G_TYPE_STRING: 1366s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1366s # break; 1366s # case G_TYPE_VARIANT: 1366s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1366s # break; 1366s # default: 1366s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1366s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1366s # else 1366s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1366s # break; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ 1366s # * Code for interface GoodTypes 1366s # * ------------------------------------------------------------------------ 1366s # */ 1366s # 1366s # /** 1366s # * SECTION:GoodTypes 1366s # * @title: GoodTypes 1366s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1366s # * 1366s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1366s # */ 1366s # 1366s # /* ---- Introspection data for GoodTypes ---- */ 1366s # 1366s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "GoodPropertyType", 1366s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1366s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1366s # NULL 1366s # }, 1366s # "good-property-type", 1366s # FALSE, 1366s # TRUE 1366s # }; 1366s # 1366s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1366s # { 1366s # &_good_types_property_info_good_property_type.parent_struct, 1366s # NULL 1366s # }; 1366s # 1366s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "GoodTypes", 1366s # NULL, 1366s # NULL, 1366s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1366s # NULL 1366s # }, 1366s # "good-types", 1366s # }; 1366s # 1366s # 1366s # /** 1366s # * good_types_interface_info: 1366s # * 1366s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1366s # * 1366s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1366s # */ 1366s # GDBusInterfaceInfo * 1366s # good_types_interface_info (void) 1366s # { 1366s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1366s # } 1366s # 1366s # /** 1366s # * good_types_override_properties: 1366s # * @klass: The class structure for a #GObject derived class. 1366s # * @property_id_begin: The property id to assign to the first overridden property. 1366s # * 1366s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1366s # * The properties are overridden in the order they are defined. 1366s # * 1366s # * Returns: The last property id. 1366s # */ 1366s # guint 1366s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1366s # { 1366s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1366s # return property_id_begin - 1; 1366s # } 1366s # 1366s # 1366s # 1366s # /** 1366s # * GoodTypes: 1366s # * 1366s # * Abstract interface type for the D-Bus interface GoodTypes. 1366s # */ 1366s # 1366s # /** 1366s # * GoodTypesIface: 1366s # * @parent_iface: The parent interface. 1366s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1366s # * 1366s # * Virtual table for the D-Bus interface GoodTypes. 1366s # */ 1366s # 1366s # typedef GoodTypesIface GoodTypesInterface; 1366s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1366s # 1366s # static void 1366s # good_types_default_init (GoodTypesIface *iface) 1366s # { 1366s # /* GObject properties for D-Bus properties: */ 1366s # /** 1366s # * GoodTypes:good-property-type: 1366s # * 1366s # * Represents the D-Bus property "GoodPropertyType". 1366s # * 1366s # * 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. 1366s # */ 1366s # g_object_interface_install_property (iface, 1366s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1366s # } 1366s # 1366s # /** 1366s # * good_types_get_good_property_type: (skip) 1366s # * @object: A GoodTypes. 1366s # * 1366s # * Gets the value of the "GoodPropertyType" D-Bus property. 1366s # * 1366s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1366s # * 1366s # * 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. 1366s # * 1366s # * 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. 1366s # */ 1366s # GVariant * 1366s # good_types_get_good_property_type (GoodTypes *object) 1366s # { 1366s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1366s # 1366s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1366s # } 1366s # 1366s # /** 1366s # * good_types_dup_good_property_type: (skip) 1366s # * @object: A GoodTypes. 1366s # * 1366s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1366s # * 1366s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1366s # * 1366s # * 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(). 1366s # */ 1366s # GVariant * 1366s # good_types_dup_good_property_type (GoodTypes *object) 1366s # { 1366s # GVariant *value; 1366s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1366s # return value; 1366s # } 1366s # 1366s # /** 1366s # * good_types_set_good_property_type: (skip) 1366s # * @object: A GoodTypes. 1366s # * @value: The value to set. 1366s # * 1366s # * Sets the "GoodPropertyType" D-Bus property to @value. 1366s # * 1366s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1366s # */ 1366s # void 1366s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1366s # { 1366s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * GoodTypesProxy: 1366s # * 1366s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * GoodTypesProxyClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for GoodTypesProxy. 1366s # */ 1366s # 1366s # struct _GoodTypesProxyPrivate 1366s # { 1366s # GData *qdata; 1366s # }; 1366s # 1366s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1366s # G_ADD_PRIVATE (GoodTypesProxy) 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # good_types_proxy_finalize (GObject *object) 1366s # { 1366s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1366s # g_datalist_clear (&proxy->priv->qdata); 1366s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_get_property (GObject *object, 1366s # guint prop_id, 1366s # GValue *value, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *variant; 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1366s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1366s # if (info->use_gvariant) 1366s # { 1366s # g_value_set_variant (value, variant); 1366s # } 1366s # else 1366s # { 1366s # if (variant != NULL) 1366s # g_dbus_gvariant_to_gvalue (variant, value); 1366s # } 1366s # if (variant != NULL) 1366s # g_variant_unref (variant); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1366s # GAsyncResult *res, 1366s # gpointer user_data) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info = user_data; 1366s # GError *error; 1366s # GVariant *_ret; 1366s # error = NULL; 1366s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1366s # if (!_ret) 1366s # { 1366s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1366s # info->parent_struct.name, 1366s # error->message, g_quark_to_string (error->domain), error->code); 1366s # g_error_free (error); 1366s # } 1366s # else 1366s # { 1366s # g_variant_unref (_ret); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_set_property (GObject *object, 1366s # guint prop_id, 1366s # const GValue *value, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *variant; 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1366s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1366s # "org.freedesktop.DBus.Properties.Set", 1366s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1366s # g_variant_unref (variant); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_g_signal (GDBusProxy *proxy, 1366s # const gchar *sender_name G_GNUC_UNUSED, 1366s # const gchar *signal_name, 1366s # GVariant *parameters) 1366s # { 1366s # _ExtendedGDBusSignalInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # gsize n; 1366s # guint signal_id; 1366s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1366s # if (info == NULL) 1366s # return; 1366s # num_params = g_variant_n_children (parameters); 1366s # paramv = g_new0 (GValue, num_params + 1); 1366s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1366s # g_value_set_object (¶mv[0], proxy); 1366s # g_variant_iter_init (&iter, parameters); 1366s # n = 1; 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1366s # g_signal_emitv (paramv, signal_id, 0, NULL); 1366s # for (n = 0; n < num_params + 1; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1366s # GVariant *changed_properties, 1366s # const gchar *const *invalidated_properties) 1366s # { 1366s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1366s # guint n; 1366s # const gchar *key; 1366s # GVariantIter *iter; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # g_variant_get (changed_properties, "a{sv}", &iter); 1366s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1366s # g_datalist_remove_data (&proxy->priv->qdata, key); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # g_variant_iter_free (iter); 1366s # for (n = 0; invalidated_properties[n] != NULL; n++) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1366s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # } 1366s # 1366s # static GVariant * 1366s # good_types_proxy_get_good_property_type (GoodTypes *object) 1366s # { 1366s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1366s # GVariant *variant; 1366s # GVariant *value = NULL; 1366s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1366s # value = variant; 1366s # if (variant != NULL) 1366s # g_variant_unref (variant); 1366s # return value; 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_init (GoodTypesProxy *proxy) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1366s # #else 1366s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1366s # #endif 1366s # 1366s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusProxyClass *proxy_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = good_types_proxy_finalize; 1366s # gobject_class->get_property = good_types_proxy_get_property; 1366s # gobject_class->set_property = good_types_proxy_set_property; 1366s # 1366s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1366s # proxy_class->g_signal = good_types_proxy_g_signal; 1366s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1366s # 1366s # good_types_override_properties (gobject_class, 1); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_iface_init (GoodTypesIface *iface) 1366s # { 1366s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1366s # * 1366s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # good_types_proxy_new ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with good_types_proxy_new(). 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_sync: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_sync ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /** 1366s # * good_types_proxy_new_for_bus: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1366s # * 1366s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # good_types_proxy_new_for_bus ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_for_bus_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_for_bus_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_for_bus_sync: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_for_bus_sync ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * GoodTypesSkeleton: 1366s # * 1366s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * GoodTypesSkeletonClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for GoodTypesSkeleton. 1366s # */ 1366s # 1366s # struct _GoodTypesSkeletonPrivate 1366s # { 1366s # GValue *properties; 1366s # GList *changed_properties; 1366s # GSource *changed_properties_idle_source; 1366s # GMainContext *context; 1366s # GMutex lock; 1366s # }; 1366s # 1366s # static void 1366s # _good_types_skeleton_handle_method_call ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name, 1366s # const gchar *method_name, 1366s # GVariant *parameters, 1366s # GDBusMethodInvocation *invocation, 1366s # gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # _ExtendedGDBusMethodInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # guint num_extra; 1366s # gsize n; 1366s # guint signal_id; 1366s # GValue return_value = G_VALUE_INIT; 1366s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1366s # g_assert (info != NULL); 1366s # num_params = g_variant_n_children (parameters); 1366s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1366s # n = 0; 1366s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1366s # g_value_set_object (¶mv[n++], skeleton); 1366s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1366s # g_value_set_object (¶mv[n++], invocation); 1366s # if (info->pass_fdlist) 1366s # { 1366s # #ifdef G_OS_UNIX 1366s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1366s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1366s # #else 1366s # g_assert_not_reached (); 1366s # #endif 1366s # } 1366s # g_variant_iter_init (&iter, parameters); 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1366s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1366s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1366s # if (!g_value_get_boolean (&return_value)) 1366s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1366s # g_value_unset (&return_value); 1366s # for (n = 0; n < num_params + num_extra; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static GVariant * 1366s # _good_types_skeleton_handle_get_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *ret; 1366s # ret = NULL; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # g_value_init (&value, pspec->value_type); 1366s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_value_unset (&value); 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _good_types_skeleton_handle_set_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GVariant *variant, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # gboolean ret; 1366s # ret = FALSE; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # if (info->use_gvariant) 1366s # g_value_set_variant (&value, variant); 1366s # else 1366s # g_dbus_gvariant_to_gvalue (variant, &value); 1366s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # g_value_unset (&value); 1366s # ret = TRUE; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1366s # { 1366s # _good_types_skeleton_handle_method_call, 1366s # _good_types_skeleton_handle_get_property, 1366s # _good_types_skeleton_handle_set_property, 1366s # {NULL} 1366s # }; 1366s # 1366s # static GDBusInterfaceInfo * 1366s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return good_types_interface_info (); 1366s # } 1366s # 1366s # static GDBusInterfaceVTable * 1366s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1366s # } 1366s # 1366s # static GVariant * 1366s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1366s # 1366s # GVariantBuilder builder; 1366s # guint n; 1366s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # if (_good_types_interface_info.parent_struct.properties == NULL) 1366s # goto out; 1366s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1366s # { 1366s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1366s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1366s # { 1366s # GVariant *value; 1366s # 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); 1366s # if (value != NULL) 1366s # { 1366s # g_variant_take_ref (value); 1366s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1366s # g_variant_unref (value); 1366s # } 1366s # } 1366s # } 1366s # out: 1366s # return g_variant_builder_end (&builder); 1366s # } 1366s # 1366s # static gboolean _good_types_emit_changed (gpointer user_data); 1366s # 1366s # static void 1366s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1366s # gboolean emit_changed = FALSE; 1366s # 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # { 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # skeleton->priv->changed_properties_idle_source = NULL; 1366s # emit_changed = TRUE; 1366s # } 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # 1366s # if (emit_changed) 1366s # _good_types_emit_changed (skeleton); 1366s # } 1366s # 1366s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_ADD_PRIVATE (GoodTypesSkeleton) 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # good_types_skeleton_finalize (GObject *object) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # guint n; 1366s # for (n = 0; n < 1; n++) 1366s # g_value_unset (&skeleton->priv->properties[n]); 1366s # g_free (skeleton->priv->properties); 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # g_main_context_unref (skeleton->priv->context); 1366s # g_mutex_clear (&skeleton->priv->lock); 1366s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_get_property (GObject *object, 1366s # guint prop_id, 1366s # GValue *value, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # } 1366s # 1366s # static gboolean 1366s # _good_types_emit_changed (gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # GList *l; 1366s # GVariantBuilder builder; 1366s # GVariantBuilder invalidated_builder; 1366s # guint num_changes; 1366s # 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1366s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1366s # { 1366s # ChangedProperty *cp = l->data; 1366s # GVariant *variant; 1366s # const GValue *cur_value; 1366s # 1366s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1366s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1366s # { 1366s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1366s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1366s # g_variant_unref (variant); 1366s # num_changes++; 1366s # } 1366s # } 1366s # if (num_changes > 0) 1366s # { 1366s # GList *connections, *ll; 1366s # GVariant *signal_variant; 1366s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1366s # &builder, &invalidated_builder)); 1366s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1366s # for (ll = connections; ll != NULL; ll = ll->next) 1366s # { 1366s # GDBusConnection *connection = ll->data; 1366s # 1366s # g_dbus_connection_emit_signal (connection, 1366s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1366s # "org.freedesktop.DBus.Properties", 1366s # "PropertiesChanged", 1366s # signal_variant, 1366s # NULL); 1366s # } 1366s # g_variant_unref (signal_variant); 1366s # g_list_free_full (connections, g_object_unref); 1366s # } 1366s # else 1366s # { 1366s # g_variant_builder_clear (&builder); 1366s # g_variant_builder_clear (&invalidated_builder); 1366s # } 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # skeleton->priv->changed_properties = NULL; 1366s # skeleton->priv->changed_properties_idle_source = NULL; 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # return FALSE; 1366s # } 1366s # 1366s # static void 1366s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1366s # { 1366s # ChangedProperty *cp; 1366s # GList *l; 1366s # cp = NULL; 1366s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1366s # { 1366s # ChangedProperty *i_cp = l->data; 1366s # if (i_cp->info == info) 1366s # { 1366s # cp = i_cp; 1366s # break; 1366s # } 1366s # } 1366s # if (cp == NULL) 1366s # { 1366s # cp = g_new0 (ChangedProperty, 1); 1366s # cp->prop_id = prop_id; 1366s # cp->info = info; 1366s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1366s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1366s # g_value_copy (orig_value, &cp->orig_value); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_notify (GObject *object, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # if (skeleton->priv->changed_properties != NULL && 1366s # skeleton->priv->changed_properties_idle_source == NULL) 1366s # { 1366s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1366s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1366s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1366s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1366s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1366s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1366s # } 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_set_property (GObject *object, 1366s # guint prop_id, 1366s # const GValue *value, 1366s # GParamSpec *pspec) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # g_object_freeze_notify (object); 1366s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1366s # { 1366s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1366s # info->emits_changed_signal) 1366s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1366s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1366s # g_object_notify_by_pspec (object, pspec); 1366s # } 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # g_object_thaw_notify (object); 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1366s # #else 1366s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1366s # #endif 1366s # 1366s # g_mutex_init (&skeleton->priv->lock); 1366s # skeleton->priv->context = g_main_context_ref_thread_default (); 1366s # skeleton->priv->properties = g_new0 (GValue, 1); 1366s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1366s # } 1366s # 1366s # static GVariant * 1366s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # GVariant *value; 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # return value; 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusInterfaceSkeletonClass *skeleton_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = good_types_skeleton_finalize; 1366s # gobject_class->get_property = good_types_skeleton_get_property; 1366s # gobject_class->set_property = good_types_skeleton_set_property; 1366s # gobject_class->notify = good_types_skeleton_notify; 1366s # 1366s # 1366s # good_types_override_properties (gobject_class, 1); 1366s # 1366s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1366s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1366s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1366s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1366s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1366s # { 1366s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1366s # } 1366s # 1366s # /** 1366s # * good_types_skeleton_new: 1366s # * 1366s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1366s # */ 1366s # GoodTypes * 1366s # good_types_skeleton_new (void) 1366s # { 1366s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1366s # } 1366s # /tmp/tmp2254oe1e/tmp6sv_yig1.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2254oe1e/tmp6sv_yig1.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifdef HAVE_CONFIG_H 1366s # # include "config.h" 1366s # #endif 1366s # 1366s # #include 1366s # #ifdef G_OS_UNIX 1366s # # include 1366s # #endif 1366s # 1366s # #ifdef G_ENABLE_DEBUG 1366s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1366s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1366s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1366s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1366s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1366s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1366s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1366s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1366s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1366s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1366s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1366s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1366s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1366s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1366s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1366s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1366s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1366s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1366s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1366s # #else /* !G_ENABLE_DEBUG */ 1366s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1366s # * Do not access GValues directly in your code. Instead, use the 1366s # * g_value_get_*() functions 1366s # */ 1366s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1366s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1366s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1366s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1366s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1366s # #endif /* !G_ENABLE_DEBUG */ 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusArgInfo parent_struct; 1366s # gboolean use_gvariant; 1366s # } _ExtendedGDBusArgInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusMethodInfo parent_struct; 1366s # const gchar *signal_name; 1366s # gboolean pass_fdlist; 1366s # } _ExtendedGDBusMethodInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusSignalInfo parent_struct; 1366s # const gchar *signal_name; 1366s # } _ExtendedGDBusSignalInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusPropertyInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # guint use_gvariant : 1; 1366s # guint emits_changed_signal : 1; 1366s # } _ExtendedGDBusPropertyInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusInterfaceInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # } _ExtendedGDBusInterfaceInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # guint prop_id; 1366s # GValue orig_value; /* the value before the change */ 1366s # } ChangedProperty; 1366s # 1366s # static void 1366s # _changed_property_free (ChangedProperty *data) 1366s # { 1366s # g_value_unset (&data->orig_value); 1366s # g_free (data); 1366s # } 1366s # 1366s # static gboolean 1366s # _g_strv_equal0 (gchar **a, gchar **b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # guint n; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # if (g_strv_length (a) != g_strv_length (b)) 1366s # goto out; 1366s # for (n = 0; a[n] != NULL; n++) 1366s # if (g_strcmp0 (a[n], b[n]) != 0) 1366s # goto out; 1366s # ret = TRUE; 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _g_variant_equal0 (GVariant *a, GVariant *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # ret = g_variant_equal (a, b); 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # G_GNUC_UNUSED static gboolean 1366s # _g_value_equal (const GValue *a, const GValue *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1366s # switch (G_VALUE_TYPE (a)) 1366s # { 1366s # case G_TYPE_BOOLEAN: 1366s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1366s # break; 1366s # case G_TYPE_UCHAR: 1366s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1366s # break; 1366s # case G_TYPE_INT: 1366s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1366s # break; 1366s # case G_TYPE_UINT: 1366s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1366s # break; 1366s # case G_TYPE_INT64: 1366s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1366s # break; 1366s # case G_TYPE_UINT64: 1366s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1366s # break; 1366s # case G_TYPE_DOUBLE: 1366s # { 1366s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1366s # gdouble da = g_value_get_double (a); 1366s # gdouble db = g_value_get_double (b); 1366s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1366s # } 1366s # break; 1366s # case G_TYPE_STRING: 1366s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1366s # break; 1366s # case G_TYPE_VARIANT: 1366s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1366s # break; 1366s # default: 1366s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1366s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1366s # else 1366s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1366s # break; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ 1366s # * Code for interface GoodTypes 1366s # * ------------------------------------------------------------------------ 1366s # */ 1366s # 1366s # /** 1366s # * SECTION:GoodTypes 1366s # * @title: GoodTypes 1366s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1366s # * 1366s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1366s # */ 1366s # 1366s # /* ---- Introspection data for GoodTypes ---- */ 1366s # 1366s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "GoodPropertyType", 1366s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1366s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1366s # NULL 1366s # }, 1366s # "good-property-type", 1366s # FALSE, 1366s # TRUE 1366s # }; 1366s # 1366s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1366s # { 1366s # &_good_types_property_info_good_property_type.parent_struct, 1366s # NULL 1366s # }; 1366s # 1366s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "GoodTypes", 1366s # NULL, 1366s # NULL, 1366s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1366s # NULL 1366s # }, 1366s # "good-types", 1366s # }; 1366s # 1366s # 1366s # /** 1366s # * good_types_interface_info: 1366s # * 1366s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1366s # * 1366s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1366s # */ 1366s # GDBusInterfaceInfo * 1366s # good_types_interface_info (void) 1366s # { 1366s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1366s # } 1366s # 1366s # /** 1366s # * good_types_override_properties: 1366s # * @klass: The class structure for a #GObject derived class. 1366s # * @property_id_begin: The property id to assign to the first overridden property. 1366s # * 1366s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1366s # * The properties are overridden in the order they are defined. 1366s # * 1366s # * Returns: The last property id. 1366s # */ 1366s # guint 1366s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1366s # { 1366s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1366s # return property_id_begin - 1; 1366s # } 1366s # 1366s # 1366s # 1366s # /** 1366s # * GoodTypes: 1366s # * 1366s # * Abstract interface type for the D-Bus interface GoodTypes. 1366s # */ 1366s # 1366s # /** 1366s # * GoodTypesIface: 1366s # * @parent_iface: The parent interface. 1366s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1366s # * 1366s # * Virtual table for the D-Bus interface GoodTypes. 1366s # */ 1366s # 1366s # typedef GoodTypesIface GoodTypesInterface; 1366s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1366s # 1366s # static void 1366s # good_types_default_init (GoodTypesIface *iface) 1366s # { 1366s # /* GObject properties for D-Bus properties: */ 1366s # /** 1366s # * GoodTypes:good-property-type: 1366s # * 1366s # * Represents the D-Bus property "GoodPropertyType". 1366s # * 1366s # * 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. 1366s # */ 1366s # g_object_interface_install_property (iface, 1366s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1366s # } 1366s # 1366s # /** 1366s # * good_types_get_good_property_type: (skip) 1366s # * @object: A GoodTypes. 1366s # * 1366s # * Gets the value of the "GoodPropertyType" D-Bus property. 1366s # * 1366s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1366s # * 1366s # * 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. 1366s # * 1366s # * 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. 1366s # */ 1366s # GVariant * 1366s # good_types_get_good_property_type (GoodTypes *object) 1366s # { 1366s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1366s # 1366s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1366s # } 1366s # 1366s # /** 1366s # * good_types_dup_good_property_type: (skip) 1366s # * @object: A GoodTypes. 1366s # * 1366s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1366s # * 1366s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1366s # * 1366s # * 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(). 1366s # */ 1366s # GVariant * 1366s # good_types_dup_good_property_type (GoodTypes *object) 1366s # { 1366s # GVariant *value; 1366s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1366s # return value; 1366s # } 1366s # 1366s # /** 1366s # * good_types_set_good_property_type: (skip) 1366s # * @object: A GoodTypes. 1366s # * @value: The value to set. 1366s # * 1366s # * Sets the "GoodPropertyType" D-Bus property to @value. 1366s # * 1366s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1366s # */ 1366s # void 1366s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1366s # { 1366s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * GoodTypesProxy: 1366s # * 1366s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * GoodTypesProxyClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for GoodTypesProxy. 1366s # */ 1366s # 1366s # struct _GoodTypesProxyPrivate 1366s # { 1366s # GData *qdata; 1366s # }; 1366s # 1366s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1366s # G_ADD_PRIVATE (GoodTypesProxy) 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # good_types_proxy_finalize (GObject *object) 1366s # { 1366s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1366s # g_datalist_clear (&proxy->priv->qdata); 1366s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_get_property (GObject *object, 1366s # guint prop_id, 1366s # GValue *value, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *variant; 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1366s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1366s # if (info->use_gvariant) 1366s # { 1366s # g_value_set_variant (value, variant); 1366s # } 1366s # else 1366s # { 1366s # if (variant != NULL) 1366s # g_dbus_gvariant_to_gvalue (variant, value); 1366s # } 1366s # if (variant != NULL) 1366s # g_variant_unref (variant); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1366s # GAsyncResult *res, 1366s # gpointer user_data) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info = user_data; 1366s # GError *error; 1366s # GVariant *_ret; 1366s # error = NULL; 1366s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1366s # if (!_ret) 1366s # { 1366s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1366s # info->parent_struct.name, 1366s # error->message, g_quark_to_string (error->domain), error->code); 1366s # g_error_free (error); 1366s # } 1366s # else 1366s # { 1366s # g_variant_unref (_ret); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_set_property (GObject *object, 1366s # guint prop_id, 1366s # const GValue *value, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *variant; 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1366s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1366s # "org.freedesktop.DBus.Properties.Set", 1366s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1366s # g_variant_unref (variant); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_g_signal (GDBusProxy *proxy, 1366s # const gchar *sender_name G_GNUC_UNUSED, 1366s # const gchar *signal_name, 1366s # GVariant *parameters) 1366s # { 1366s # _ExtendedGDBusSignalInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # gsize n; 1366s # guint signal_id; 1366s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1366s # if (info == NULL) 1366s # return; 1366s # num_params = g_variant_n_children (parameters); 1366s # paramv = g_new0 (GValue, num_params + 1); 1366s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1366s # g_value_set_object (¶mv[0], proxy); 1366s # g_variant_iter_init (&iter, parameters); 1366s # n = 1; 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1366s # g_signal_emitv (paramv, signal_id, 0, NULL); 1366s # for (n = 0; n < num_params + 1; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1366s # GVariant *changed_properties, 1366s # const gchar *const *invalidated_properties) 1366s # { 1366s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1366s # guint n; 1366s # const gchar *key; 1366s # GVariantIter *iter; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # g_variant_get (changed_properties, "a{sv}", &iter); 1366s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1366s # g_datalist_remove_data (&proxy->priv->qdata, key); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # g_variant_iter_free (iter); 1366s # for (n = 0; invalidated_properties[n] != NULL; n++) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1366s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # } 1366s # 1366s # static GVariant * 1366s # good_types_proxy_get_good_property_type (GoodTypes *object) 1366s # { 1366s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1366s # GVariant *variant; 1366s # GVariant *value = NULL; 1366s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1366s # value = variant; 1366s # if (variant != NULL) 1366s # g_variant_unref (variant); 1366s # return value; 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_init (GoodTypesProxy *proxy) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1366s # #else 1366s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1366s # #endif 1366s # 1366s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusProxyClass *proxy_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = good_types_proxy_finalize; 1366s # gobject_class->get_property = good_types_proxy_get_property; 1366s # gobject_class->set_property = good_types_proxy_set_property; 1366s # 1366s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1366s # proxy_class->g_signal = good_types_proxy_g_signal; 1366s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1366s # 1366s # good_types_override_properties (gobject_class, 1); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # good_types_proxy_iface_init (GoodTypesIface *iface) 1366s # { 1366s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1366s # * 1366s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # good_types_proxy_new ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with good_types_proxy_new(). 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_sync: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_sync ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /** 1366s # * good_types_proxy_new_for_bus: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1366s # * 1366s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # good_types_proxy_new_for_bus ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_for_bus_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_for_bus_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * good_types_proxy_new_for_bus_sync: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # GoodTypes * 1366s # good_types_proxy_new_for_bus_sync ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return GOOD_TYPES (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * GoodTypesSkeleton: 1366s # * 1366s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * GoodTypesSkeletonClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for GoodTypesSkeleton. 1366s # */ 1366s # 1366s # struct _GoodTypesSkeletonPrivate 1366s # { 1366s # GValue *properties; 1366s # GList *changed_properties; 1366s # GSource *changed_properties_idle_source; 1366s # GMainContext *context; 1366s # GMutex lock; 1366s # }; 1366s # 1366s # static void 1366s # _good_types_skeleton_handle_method_call ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name, 1366s # const gchar *method_name, 1366s # GVariant *parameters, 1366s # GDBusMethodInvocation *invocation, 1366s # gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # _ExtendedGDBusMethodInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # guint num_extra; 1366s # gsize n; 1366s # guint signal_id; 1366s # GValue return_value = G_VALUE_INIT; 1366s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1366s # g_assert (info != NULL); 1366s # num_params = g_variant_n_children (parameters); 1366s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1366s # n = 0; 1366s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1366s # g_value_set_object (¶mv[n++], skeleton); 1366s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1366s # g_value_set_object (¶mv[n++], invocation); 1366s # if (info->pass_fdlist) 1366s # { 1366s # #ifdef G_OS_UNIX 1366s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1366s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1366s # #else 1366s # g_assert_not_reached (); 1366s # #endif 1366s # } 1366s # g_variant_iter_init (&iter, parameters); 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1366s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1366s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1366s # if (!g_value_get_boolean (&return_value)) 1366s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1366s # g_value_unset (&return_value); 1366s # for (n = 0; n < num_params + num_extra; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static GVariant * 1366s # _good_types_skeleton_handle_get_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *ret; 1366s # ret = NULL; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # g_value_init (&value, pspec->value_type); 1366s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_value_unset (&value); 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _good_types_skeleton_handle_set_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GVariant *variant, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # gboolean ret; 1366s # ret = FALSE; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # if (info->use_gvariant) 1366s # g_value_set_variant (&value, variant); 1366s # else 1366s # g_dbus_gvariant_to_gvalue (variant, &value); 1366s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # g_value_unset (&value); 1366s # ret = TRUE; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1366s # { 1366s # _good_types_skeleton_handle_method_call, 1366s # _good_types_skeleton_handle_get_property, 1366s # _good_types_skeleton_handle_set_property, 1366s # {NULL} 1366s # }; 1366s # 1366s # static GDBusInterfaceInfo * 1366s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return good_types_interface_info (); 1366s # } 1366s # 1366s # static GDBusInterfaceVTable * 1366s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1366s # } 1366s # 1366s # static GVariant * 1366s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1366s # 1366s # GVariantBuilder builder; 1366s # guint n; 1366s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # if (_good_types_interface_info.parent_struct.properties == NULL) 1366s # goto out; 1366s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1366s # { 1366s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1366s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1366s # { 1366s # GVariant *value; 1366s # 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); 1366s # if (value != NULL) 1366s # { 1366s # g_variant_take_ref (value); 1366s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1366s # g_variant_unref (value); 1366s # } 1366s # } 1366s # } 1366s # out: 1366s # return g_variant_builder_end (&builder); 1366s # } 1366s # 1366s # static gboolean _good_types_emit_changed (gpointer user_data); 1366s # 1366s # static void 1366s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1366s # gboolean emit_changed = FALSE; 1366s # 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # { 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # skeleton->priv->changed_properties_idle_source = NULL; 1366s # emit_changed = TRUE; 1366s # } 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # 1366s # if (emit_changed) 1366s # _good_types_emit_changed (skeleton); 1366s # } 1366s # 1366s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_ADD_PRIVATE (GoodTypesSkeleton) 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # good_types_skeleton_finalize (GObject *object) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # guint n; 1366s # for (n = 0; n < 1; n++) 1366s # g_value_unset (&skeleton->priv->properties[n]); 1366s # g_free (skeleton->priv->properties); 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # g_main_context_unref (skeleton->priv->context); 1366s # g_mutex_clear (&skeleton->priv->lock); 1366s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_get_property (GObject *object, 1366s # guint prop_id, 1366s # GValue *value, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # } 1366s # 1366s # static gboolean 1366s # _good_types_emit_changed (gpointer user_data) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1366s # GList *l; 1366s # GVariantBuilder builder; 1366s # GVariantBuilder invalidated_builder; 1366s # guint num_changes; 1366s # 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1366s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1366s # { 1366s # ChangedProperty *cp = l->data; 1366s # GVariant *variant; 1366s # const GValue *cur_value; 1366s # 1366s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1366s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1366s # { 1366s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1366s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1366s # g_variant_unref (variant); 1366s # num_changes++; 1366s # } 1366s # } 1366s # if (num_changes > 0) 1366s # { 1366s # GList *connections, *ll; 1366s # GVariant *signal_variant; 1366s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1366s # &builder, &invalidated_builder)); 1366s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1366s # for (ll = connections; ll != NULL; ll = ll->next) 1366s # { 1366s # GDBusConnection *connection = ll->data; 1366s # 1366s # g_dbus_connection_emit_signal (connection, 1366s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1366s # "org.freedesktop.DBus.Properties", 1366s # "PropertiesChanged", 1366s # signal_variant, 1366s # NULL); 1366s # } 1366s # g_variant_unref (signal_variant); 1366s # g_list_free_full (connections, g_object_unref); 1366s # } 1366s # else 1366s # { 1366s # g_variant_builder_clear (&builder); 1366s # g_variant_builder_clear (&invalidated_builder); 1366s # } 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # skeleton->priv->changed_properties = NULL; 1366s # skeleton->priv->changed_properties_idle_source = NULL; 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # return FALSE; 1366s # } 1366s # 1366s # static void 1366s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1366s # { 1366s # ChangedProperty *cp; 1366s # GList *l; 1366s # cp = NULL; 1366s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1366s # { 1366s # ChangedProperty *i_cp = l->data; 1366s # if (i_cp->info == info) 1366s # { 1366s # cp = i_cp; 1366s # break; 1366s # } 1366s # } 1366s # if (cp == NULL) 1366s # { 1366s # cp = g_new0 (ChangedProperty, 1); 1366s # cp->prop_id = prop_id; 1366s # cp->info = info; 1366s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1366s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1366s # g_value_copy (orig_value, &cp->orig_value); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_notify (GObject *object, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # if (skeleton->priv->changed_properties != NULL && 1366s # skeleton->priv->changed_properties_idle_source == NULL) 1366s # { 1366s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1366s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1366s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1366s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1366s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1366s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1366s # } 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_set_property (GObject *object, 1366s # guint prop_id, 1366s # const GValue *value, 1366s # GParamSpec *pspec) 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1366s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # g_object_freeze_notify (object); 1366s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1366s # { 1366s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1366s # info->emits_changed_signal) 1366s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1366s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1366s # g_object_notify_by_pspec (object, pspec); 1366s # } 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # g_object_thaw_notify (object); 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1366s # #else 1366s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1366s # #endif 1366s # 1366s # g_mutex_init (&skeleton->priv->lock); 1366s # skeleton->priv->context = g_main_context_ref_thread_default (); 1366s # skeleton->priv->properties = g_new0 (GValue, 1); 1366s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1366s # } 1366s # 1366s # static GVariant * 1366s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1366s # { 1366s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1366s # GVariant *value; 1366s # g_mutex_lock (&skeleton->priv->lock); 1366s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1366s # g_mutex_unlock (&skeleton->priv->lock); 1366s # return value; 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusInterfaceSkeletonClass *skeleton_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = good_types_skeleton_finalize; 1366s # gobject_class->get_property = good_types_skeleton_get_property; 1366s # gobject_class->set_property = good_types_skeleton_set_property; 1366s # gobject_class->notify = good_types_skeleton_notify; 1366s # 1366s # 1366s # good_types_override_properties (gobject_class, 1); 1366s # 1366s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1366s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1366s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1366s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1366s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1366s # { 1366s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1366s # } 1366s # 1366s # /** 1366s # * good_types_skeleton_new: 1366s # * 1366s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1366s # * 1366s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1366s # */ 1366s # GoodTypes * 1366s # good_types_skeleton_new (void) 1366s # { 1366s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1366s # } 1366s ok 3 __main__.TestCodegen.test_empty_interface_body 1366s # tmpdir: /tmp/tmpzyxvst_5 1366s # codegen: /usr/bin/gdbus-codegen 1366s # /tmp/tmpzyxvst_5/tmpkrjyek9u.xml: 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzyxvst_5/tmpkrjyek9u.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifdef HAVE_CONFIG_H 1366s # # include "config.h" 1366s # #endif 1366s # 1366s # #include 1366s # #ifdef G_OS_UNIX 1366s # # include 1366s # #endif 1366s # 1366s # #ifdef G_ENABLE_DEBUG 1366s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1366s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1366s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1366s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1366s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1366s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1366s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1366s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1366s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1366s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1366s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1366s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1366s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1366s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1366s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1366s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1366s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1366s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1366s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1366s # #else /* !G_ENABLE_DEBUG */ 1366s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1366s # * Do not access GValues directly in your code. Instead, use the 1366s # * g_value_get_*() functions 1366s # */ 1366s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1366s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1366s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1366s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1366s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1366s # #endif /* !G_ENABLE_DEBUG */ 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusArgInfo parent_struct; 1366s # gboolean use_gvariant; 1366s # } _ExtendedGDBusArgInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusMethodInfo parent_struct; 1366s # const gchar *signal_name; 1366s # gboolean pass_fdlist; 1366s # } _ExtendedGDBusMethodInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusSignalInfo parent_struct; 1366s # const gchar *signal_name; 1366s # } _ExtendedGDBusSignalInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusPropertyInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # guint use_gvariant : 1; 1366s # guint emits_changed_signal : 1; 1366s # } _ExtendedGDBusPropertyInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusInterfaceInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # } _ExtendedGDBusInterfaceInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # guint prop_id; 1366s # GValue orig_value; /* the value before the change */ 1366s # } ChangedProperty; 1366s # 1366s # static void 1366s # _changed_property_free (ChangedProperty *data) 1366s # { 1366s # g_value_unset (&data->orig_value); 1366s # g_free (data); 1366s # } 1366s # 1366s # static gboolean 1366s # _g_strv_equal0 (gchar **a, gchar **b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # guint n; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # if (g_strv_length (a) != g_strv_length (b)) 1366s # goto out; 1366s # for (n = 0; a[n] != NULL; n++) 1366s # if (g_strcmp0 (a[n], b[n]) != 0) 1366s # goto out; 1366s # ret = TRUE; 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _g_variant_equal0 (GVariant *a, GVariant *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # ret = g_variant_equal (a, b); 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # G_GNUC_UNUSED static gboolean 1366s # _g_value_equal (const GValue *a, const GValue *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1366s # switch (G_VALUE_TYPE (a)) 1366s # { 1366s # case G_TYPE_BOOLEAN: 1366s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1366s # break; 1366s # case G_TYPE_UCHAR: 1366s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1366s # break; 1366s # case G_TYPE_INT: 1366s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1366s # break; 1366s # case G_TYPE_UINT: 1366s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1366s # break; 1366s # case G_TYPE_INT64: 1366s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1366s # break; 1366s # case G_TYPE_UINT64: 1366s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1366s # break; 1366s # case G_TYPE_DOUBLE: 1366s # { 1366s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1366s # gdouble da = g_value_get_double (a); 1366s # gdouble db = g_value_get_double (b); 1366s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1366s # } 1366s # break; 1366s # case G_TYPE_STRING: 1366s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1366s # break; 1366s # case G_TYPE_VARIANT: 1366s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1366s # break; 1366s # default: 1366s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1366s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1366s # else 1366s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1366s # break; 1366s # } 1366s # return ret; 1366s # } 1366s ok 4 __main__.TestCodegen.test_empty_interface_header 1366s # tmpdir: /tmp/tmphpngflqw 1366s # codegen: /usr/bin/gdbus-codegen 1366s # /tmp/tmphpngflqw/tmpvtujvva_.xml: 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphpngflqw/tmpvtujvva_.xml', '--output', '-', '--header'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifndef __STDOUT__ 1366s # #define __STDOUT__ 1366s # 1366s # #include 1366s # 1366s # G_BEGIN_DECLS 1366s # 1366s # 1366s # G_END_DECLS 1366s # 1366s # #endif /* __STDOUT__ */ 1366s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1366s # tmpdir: /tmp/tmp6eih_t_y 1366s # codegen: /usr/bin/gdbus-codegen 1366s # /tmp/tmp6eih_t_y/tmppm3ndf_d.xml: 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6eih_t_y/tmppm3ndf_d.xml', '--output', '-', '--interface-info-body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifdef HAVE_CONFIG_H 1366s # # include "config.h" 1366s # #endif 1366s # 1366s # #include 1366s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1366s # tmpdir: /tmp/tmpfy1k4lb6 1366s # codegen: /usr/bin/gdbus-codegen 1366s # /tmp/tmpfy1k4lb6/tmpby16tz4v.xml: 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfy1k4lb6/tmpby16tz4v.xml', '--output', '-', '--interface-info-header'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifndef __STDOUT__ 1366s # #define __STDOUT__ 1366s # 1366s # #include 1366s # 1366s # G_BEGIN_DECLS 1366s # 1366s # 1366s # G_END_DECLS 1366s # 1366s # #endif /* __STDOUT__ */ 1366s ok 7 __main__.TestCodegen.test_generate_docbook 1366s # tmpdir: /tmp/tmp0b1qtx3x 1366s # codegen: /usr/bin/gdbus-codegen 1366s # /tmp/tmp0b1qtx3x/tmp75oqrnrt.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0b1qtx3x/tmp75oqrnrt.xml', '--generate-docbook', 'test'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: 1366s ok 8 __main__.TestCodegen.test_generate_md 1366s # tmpdir: /tmp/tmpelbturw5 1366s # codegen: /usr/bin/gdbus-codegen 1366s # /tmp/tmpelbturw5/tmp9cd9x__s.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpelbturw5/tmp9cd9x__s.xml', '--generate-md', 'test'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: 1366s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1366s # tmpdir: /tmp/tmps4au627s 1366s # codegen: /usr/bin/gdbus-codegen 1366s # /tmp/tmps4au627s/tmpomrj7cdq.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4au627s/tmpomrj7cdq.xml', '--output', '-', '--body'] 1366s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1366s # Output: /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifdef HAVE_CONFIG_H 1366s # # include "config.h" 1366s # #endif 1366s # 1366s # #include 1366s # #ifdef G_OS_UNIX 1366s # # include 1366s # #endif 1366s # 1366s # #ifdef G_ENABLE_DEBUG 1366s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1366s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1366s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1366s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1366s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1366s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1366s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1366s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1366s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1366s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1366s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1366s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1366s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1366s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1366s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1366s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1366s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1366s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1366s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1366s # #else /* !G_ENABLE_DEBUG */ 1366s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1366s # * Do not access GValues directly in your code. Instead, use the 1366s # * g_value_get_*() functions 1366s # */ 1366s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1366s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1366s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1366s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1366s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1366s # #endif /* !G_ENABLE_DEBUG */ 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusArgInfo parent_struct; 1366s # gboolean use_gvariant; 1366s # } _ExtendedGDBusArgInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusMethodInfo parent_struct; 1366s # const gchar *signal_name; 1366s # gboolean pass_fdlist; 1366s # } _ExtendedGDBusMethodInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusSignalInfo parent_struct; 1366s # const gchar *signal_name; 1366s # } _ExtendedGDBusSignalInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusPropertyInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # guint use_gvariant : 1; 1366s # guint emits_changed_signal : 1; 1366s # } _ExtendedGDBusPropertyInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusInterfaceInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # } _ExtendedGDBusInterfaceInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # guint prop_id; 1366s # GValue orig_value; /* the value before the change */ 1366s # } ChangedProperty; 1366s # 1366s # static void 1366s # _changed_property_free (ChangedProperty *data) 1366s # { 1366s # g_value_unset (&data->orig_value); 1366s # g_free (data); 1366s # } 1366s # 1366s # static gboolean 1366s # _g_strv_equal0 (gchar **a, gchar **b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # guint n; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # if (g_strv_length (a) != g_strv_length (b)) 1366s # goto out; 1366s # for (n = 0; a[n] != NULL; n++) 1366s # if (g_strcmp0 (a[n], b[n]) != 0) 1366s # goto out; 1366s # ret = TRUE; 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _g_variant_equal0 (GVariant *a, GVariant *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # ret = g_variant_equal (a, b); 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # G_GNUC_UNUSED static gboolean 1366s # _g_value_equal (const GValue *a, const GValue *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1366s # switch (G_VALUE_TYPE (a)) 1366s # { 1366s # case G_TYPE_BOOLEAN: 1366s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1366s # break; 1366s # case G_TYPE_UCHAR: 1366s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1366s # break; 1366s # case G_TYPE_INT: 1366s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1366s # break; 1366s # case G_TYPE_UINT: 1366s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1366s # break; 1366s # case G_TYPE_INT64: 1366s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1366s # break; 1366s # case G_TYPE_UINT64: 1366s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1366s # break; 1366s # case G_TYPE_DOUBLE: 1366s # { 1366s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1366s # gdouble da = g_value_get_double (a); 1366s # gdouble db = g_value_get_double (b); 1366s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1366s # } 1366s # break; 1366s # case G_TYPE_STRING: 1366s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1366s # break; 1366s # case G_TYPE_VARIANT: 1366s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1366s # break; 1366s # default: 1366s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1366s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1366s # else 1366s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1366s # break; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static void 1366s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1366s # GClosure *closure, 1366s # GValue *return_value, 1366s # unsigned int n_param_values, 1366s # const GValue *param_values, 1366s # void *invocation_hint G_GNUC_UNUSED, 1366s # void *marshal_data) 1366s # { 1366s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1366s # (void *data1, 1366s # GDBusMethodInvocation *arg_method_invocation, 1366s # void *data2); 1366s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1366s # GCClosure *cc = (GCClosure*) closure; 1366s # void *data1, *data2; 1366s # gboolean v_return; 1366s # 1366s # g_return_if_fail (return_value != NULL); 1366s # g_return_if_fail (n_param_values == 2); 1366s # 1366s # if (G_CCLOSURE_SWAP_DATA (closure)) 1366s # { 1366s # data1 = closure->data; 1366s # data2 = g_value_peek_pointer (param_values + 0); 1366s # } 1366s # else 1366s # { 1366s # data1 = g_value_peek_pointer (param_values + 0); 1366s # data2 = closure->data; 1366s # } 1366s # 1366s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1366s # (marshal_data ? marshal_data : cc->callback); 1366s # 1366s # v_return = 1366s # callback (data1, 1366s # g_marshal_value_peek_object (param_values + 1), 1366s # data2); 1366s # 1366s # g_value_set_boolean (return_value, v_return); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ 1366s # * Code for interface org.project.CallableIface 1366s # * ------------------------------------------------------------------------ 1366s # */ 1366s # 1366s # /** 1366s # * SECTION:OrgProjectCallableIface 1366s # * @title: OrgProjectCallableIface 1366s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1366s # * 1366s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1366s # */ 1366s # 1366s # /* ---- Introspection data for org.project.CallableIface ---- */ 1366s # 1366s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "SimpleMethod", 1366s # NULL, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "handle-simple-method", 1366s # FALSE 1366s # }; 1366s # 1366s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1366s # { 1366s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1366s # NULL 1366s # }; 1366s # 1366s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "org.project.CallableIface", 1366s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1366s # NULL, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "org-project-callable-iface", 1366s # }; 1366s # 1366s # 1366s # /** 1366s # * org_project_callable_iface_interface_info: 1366s # * 1366s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1366s # * 1366s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1366s # */ 1366s # GDBusInterfaceInfo * 1366s # org_project_callable_iface_interface_info (void) 1366s # { 1366s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_override_properties: 1366s # * @klass: The class structure for a #GObject derived class. 1366s # * @property_id_begin: The property id to assign to the first overridden property. 1366s # * 1366s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1366s # * The properties are overridden in the order they are defined. 1366s # * 1366s # * Returns: The last property id. 1366s # */ 1366s # guint 1366s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1366s # { 1366s # return property_id_begin - 1; 1366s # } 1366s # 1366s # 1366s # inline static void 1366s # org_project_callable_iface_method_marshal_simple_method ( 1366s # GClosure *closure, 1366s # GValue *return_value, 1366s # unsigned int n_param_values, 1366s # const GValue *param_values, 1366s # void *invocation_hint, 1366s # void *marshal_data) 1366s # { 1366s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1366s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1366s # } 1366s # 1366s # 1366s # /** 1366s # * OrgProjectCallableIface: 1366s # * 1366s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceIface: 1366s # * @parent_iface: The parent interface. 1366s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1366s # * 1366s # * Virtual table for the D-Bus interface org.project.CallableIface. 1366s # */ 1366s # 1366s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1366s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1366s # 1366s # static void 1366s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1366s # { 1366s # /* GObject signals for incoming D-Bus method calls: */ 1366s # /** 1366s # * OrgProjectCallableIface::handle-simple-method: 1366s # * @object: A #OrgProjectCallableIface. 1366s # * @invocation: A #GDBusMethodInvocation. 1366s # * 1366s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1366s # * 1366s # * 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. 1366s # * 1366s # * 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. 1366s # */ 1366s # g_signal_new ("handle-simple-method", 1366s # G_TYPE_FROM_INTERFACE (iface), 1366s # G_SIGNAL_RUN_LAST, 1366s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1366s # g_signal_accumulator_true_handled, 1366s # NULL, 1366s # org_project_callable_iface_method_marshal_simple_method, 1366s # G_TYPE_BOOLEAN, 1366s # 1, 1366s # G_TYPE_DBUS_METHOD_INVOCATION); 1366s # 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_call_simple_method: 1366s # * @proxy: A #OrgProjectCallableIfaceProxy. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1366s # */ 1366s # void 1366s # org_project_callable_iface_call_simple_method ( 1366s # OrgProjectCallableIface *proxy, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1366s # "SimpleMethod", 1366s # g_variant_new ("()"), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # cancellable, 1366s # callback, 1366s # user_data); 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_call_simple_method_finish: 1366s # * @proxy: A #OrgProjectCallableIfaceProxy. 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1366s # * @error: Return location for error or %NULL. 1366s # * 1366s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1366s # * 1366s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1366s # */ 1366s # gboolean 1366s # org_project_callable_iface_call_simple_method_finish ( 1366s # OrgProjectCallableIface *proxy, 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GVariant *_ret; 1366s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1366s # if (_ret == NULL) 1366s # goto _out; 1366s # g_variant_get (_ret, 1366s # "()"); 1366s # g_variant_unref (_ret); 1366s # _out: 1366s # return _ret != NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_call_simple_method_sync: 1366s # * @proxy: A #OrgProjectCallableIfaceProxy. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL. 1366s # * 1366s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1366s # * 1366s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1366s # */ 1366s # gboolean 1366s # org_project_callable_iface_call_simple_method_sync ( 1366s # OrgProjectCallableIface *proxy, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GVariant *_ret; 1366s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1366s # "SimpleMethod", 1366s # g_variant_new ("()"), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # cancellable, 1366s # error); 1366s # if (_ret == NULL) 1366s # goto _out; 1366s # g_variant_get (_ret, 1366s # "()"); 1366s # g_variant_unref (_ret); 1366s # _out: 1366s # return _ret != NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_complete_simple_method: 1366s # * @object: A #OrgProjectCallableIface. 1366s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1366s # * 1366s # * 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. 1366s # * 1366s # * This method will free @invocation, you cannot use it afterwards. 1366s # */ 1366s # void 1366s # org_project_callable_iface_complete_simple_method ( 1366s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1366s # GDBusMethodInvocation *invocation) 1366s # { 1366s # g_dbus_method_invocation_return_value (invocation, 1366s # g_variant_new ("()")); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceProxy: 1366s # * 1366s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceProxyClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for #OrgProjectCallableIfaceProxy. 1366s # */ 1366s # 1366s # struct _OrgProjectCallableIfaceProxyPrivate 1366s # { 1366s # GData *qdata; 1366s # }; 1366s # 1366s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1366s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # org_project_callable_iface_proxy_finalize (GObject *object) 1366s # { 1366s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1366s # g_datalist_clear (&proxy->priv->qdata); 1366s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1366s # guint prop_id G_GNUC_UNUSED, 1366s # GValue *value G_GNUC_UNUSED, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1366s # guint prop_id G_GNUC_UNUSED, 1366s # const GValue *value G_GNUC_UNUSED, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1366s # const gchar *sender_name G_GNUC_UNUSED, 1366s # const gchar *signal_name, 1366s # GVariant *parameters) 1366s # { 1366s # _ExtendedGDBusSignalInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # gsize n; 1366s # guint signal_id; 1366s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1366s # if (info == NULL) 1366s # return; 1366s # num_params = g_variant_n_children (parameters); 1366s # paramv = g_new0 (GValue, num_params + 1); 1366s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1366s # g_value_set_object (¶mv[0], proxy); 1366s # g_variant_iter_init (&iter, parameters); 1366s # n = 1; 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1366s # g_signal_emitv (paramv, signal_id, 0, NULL); 1366s # for (n = 0; n < num_params + 1; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1366s # GVariant *changed_properties, 1366s # const gchar *const *invalidated_properties) 1366s # { 1366s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1366s # guint n; 1366s # const gchar *key; 1366s # GVariantIter *iter; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # g_variant_get (changed_properties, "a{sv}", &iter); 1366s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1366s # g_datalist_remove_data (&proxy->priv->qdata, key); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # g_variant_iter_free (iter); 1366s # for (n = 0; invalidated_properties[n] != NULL; n++) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1366s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1366s # #else 1366s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1366s # #endif 1366s # 1366s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusProxyClass *proxy_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1366s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1366s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1366s # 1366s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1366s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1366s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # org_project_callable_iface_proxy_new ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_proxy_new_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_sync: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_proxy_new_sync ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_for_bus: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # org_project_callable_iface_proxy_new_for_bus ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_for_bus_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_proxy_new_for_bus_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_for_bus_sync: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_proxy_new_for_bus_sync ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceSkeleton: 1366s # * 1366s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceSkeletonClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1366s # */ 1366s # 1366s # struct _OrgProjectCallableIfaceSkeletonPrivate 1366s # { 1366s # GValue *properties; 1366s # GList *changed_properties; 1366s # GSource *changed_properties_idle_source; 1366s # GMainContext *context; 1366s # GMutex lock; 1366s # }; 1366s # 1366s # static void 1366s # _org_project_callable_iface_skeleton_handle_method_call ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name, 1366s # const gchar *method_name, 1366s # GVariant *parameters, 1366s # GDBusMethodInvocation *invocation, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1366s # _ExtendedGDBusMethodInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # guint num_extra; 1366s # gsize n; 1366s # guint signal_id; 1366s # GValue return_value = G_VALUE_INIT; 1366s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1366s # g_assert (info != NULL); 1366s # num_params = g_variant_n_children (parameters); 1366s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1366s # n = 0; 1366s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1366s # g_value_set_object (¶mv[n++], skeleton); 1366s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1366s # g_value_set_object (¶mv[n++], invocation); 1366s # if (info->pass_fdlist) 1366s # { 1366s # #ifdef G_OS_UNIX 1366s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1366s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1366s # #else 1366s # g_assert_not_reached (); 1366s # #endif 1366s # } 1366s # g_variant_iter_init (&iter, parameters); 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1366s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1366s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1366s # if (!g_value_get_boolean (&return_value)) 1366s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1366s # g_value_unset (&return_value); 1366s # for (n = 0; n < num_params + num_extra; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static GVariant * 1366s # _org_project_callable_iface_skeleton_handle_get_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *ret; 1366s # ret = NULL; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # g_value_init (&value, pspec->value_type); 1366s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_value_unset (&value); 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _org_project_callable_iface_skeleton_handle_set_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GVariant *variant, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # gboolean ret; 1366s # ret = FALSE; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # if (info->use_gvariant) 1366s # g_value_set_variant (&value, variant); 1366s # else 1366s # g_dbus_gvariant_to_gvalue (variant, &value); 1366s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # g_value_unset (&value); 1366s # ret = TRUE; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1366s # { 1366s # _org_project_callable_iface_skeleton_handle_method_call, 1366s # _org_project_callable_iface_skeleton_handle_get_property, 1366s # _org_project_callable_iface_skeleton_handle_set_property, 1366s # {NULL} 1366s # }; 1366s # 1366s # static GDBusInterfaceInfo * 1366s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return org_project_callable_iface_interface_info (); 1366s # } 1366s # 1366s # static GDBusInterfaceVTable * 1366s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1366s # } 1366s # 1366s # static GVariant * 1366s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1366s # 1366s # GVariantBuilder builder; 1366s # guint n; 1366s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1366s # goto out; 1366s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1366s # { 1366s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1366s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1366s # { 1366s # GVariant *value; 1366s # 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); 1366s # if (value != NULL) 1366s # { 1366s # g_variant_take_ref (value); 1366s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1366s # g_variant_unref (value); 1366s # } 1366s # } 1366s # } 1366s # out: 1366s # return g_variant_builder_end (&builder); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # org_project_callable_iface_skeleton_finalize (GObject *object) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # g_main_context_unref (skeleton->priv->context); 1366s # g_mutex_clear (&skeleton->priv->lock); 1366s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1366s # #else 1366s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1366s # #endif 1366s # 1366s # g_mutex_init (&skeleton->priv->lock); 1366s # skeleton->priv->context = g_main_context_ref_thread_default (); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusInterfaceSkeletonClass *skeleton_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1366s # 1366s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1366s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1366s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1366s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1366s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_skeleton_new: 1366s # * 1366s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_skeleton_new (void) 1366s # { 1366s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ 1366s # * Code for interface org.project.OtherCallableIface 1366s # * ------------------------------------------------------------------------ 1366s # */ 1366s # 1366s # /** 1366s # * SECTION:OrgProjectOtherCallableIface 1366s # * @title: OrgProjectOtherCallableIface 1366s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1366s # * 1366s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1366s # */ 1366s # 1366s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1366s # 1366s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "SimpleMethod", 1366s # NULL, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "handle-simple-method", 1366s # FALSE 1366s # }; 1366s # 1366s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1366s # { 1366s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1366s # NULL 1366s # }; 1366s # 1366s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "org.project.OtherCallableIface", 1366s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1366s # NULL, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "org-project-other-callable-iface", 1366s # }; 1366s # 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_interface_info: 1366s # * 1366s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1366s # * 1366s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1366s # */ 1366s # GDBusInterfaceInfo * 1366s # org_project_other_callable_iface_interface_info (void) 1366s # { 1366s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_override_properties: 1366s # * @klass: The class structure for a #GObject derived class. 1366s # * @property_id_begin: The property id to assign to the first overridden property. 1366s # * 1366s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1366s # * The properties are overridden in the order they are defined. 1366s # * 1366s # * Returns: The last property id. 1366s # */ 1366s # guint 1366s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1366s # { 1366s # return property_id_begin - 1; 1366s # } 1366s # 1366s # 1366s # inline static void 1366s # org_project_other_callable_iface_method_marshal_simple_method ( 1366s # GClosure *closure, 1366s # GValue *return_value, 1366s # unsigned int n_param_values, 1366s # const GValue *param_values, 1366s # void *invocation_hint, 1366s # void *marshal_data) 1366s # { 1366s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1366s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1366s # } 1366s # 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIface: 1366s # * 1366s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceIface: 1366s # * @parent_iface: The parent interface. 1366s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1366s # * 1366s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1366s # */ 1366s # 1366s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1366s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1366s # 1366s # static void 1366s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1366s # { 1366s # /* GObject signals for incoming D-Bus method calls: */ 1366s # /** 1366s # * OrgProjectOtherCallableIface::handle-simple-method: 1366s # * @object: A #OrgProjectOtherCallableIface. 1366s # * @invocation: A #GDBusMethodInvocation. 1366s # * 1366s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1366s # * 1366s # * 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. 1366s # * 1366s # * 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. 1366s # */ 1366s # g_signal_new ("handle-simple-method", 1366s # G_TYPE_FROM_INTERFACE (iface), 1366s # G_SIGNAL_RUN_LAST, 1366s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1366s # g_signal_accumulator_true_handled, 1366s # NULL, 1366s # org_project_other_callable_iface_method_marshal_simple_method, 1366s # G_TYPE_BOOLEAN, 1366s # 1, 1366s # G_TYPE_DBUS_METHOD_INVOCATION); 1366s # 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_call_simple_method: 1366s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1366s # */ 1366s # void 1366s # org_project_other_callable_iface_call_simple_method ( 1366s # OrgProjectOtherCallableIface *proxy, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1366s # "SimpleMethod", 1366s # g_variant_new ("()"), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # cancellable, 1366s # callback, 1366s # user_data); 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_call_simple_method_finish: 1366s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1366s # * @error: Return location for error or %NULL. 1366s # * 1366s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1366s # * 1366s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1366s # */ 1366s # gboolean 1366s # org_project_other_callable_iface_call_simple_method_finish ( 1366s # OrgProjectOtherCallableIface *proxy, 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GVariant *_ret; 1366s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1366s # if (_ret == NULL) 1366s # goto _out; 1366s # g_variant_get (_ret, 1366s # "()"); 1366s # g_variant_unref (_ret); 1366s # _out: 1366s # return _ret != NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_call_simple_method_sync: 1366s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL. 1366s # * 1366s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1366s # * 1366s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1366s # */ 1366s # gboolean 1366s # org_project_other_callable_iface_call_simple_method_sync ( 1366s # OrgProjectOtherCallableIface *proxy, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GVariant *_ret; 1366s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1366s # "SimpleMethod", 1366s # g_variant_new ("()"), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # cancellable, 1366s # error); 1366s # if (_ret == NULL) 1366s # goto _out; 1366s # g_variant_get (_ret, 1366s # "()"); 1366s # g_variant_unref (_ret); 1366s # _out: 1366s # return _ret != NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_complete_simple_method: 1366s # * @object: A #OrgProjectOtherCallableIface. 1366s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1366s # * 1366s # * 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. 1366s # * 1366s # * This method will free @invocation, you cannot use it afterwards. 1366s # */ 1366s # void 1366s # org_project_other_callable_iface_complete_simple_method ( 1366s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1366s # GDBusMethodInvocation *invocation) 1366s # { 1366s # g_dbus_method_invocation_return_value (invocation, 1366s # g_variant_new ("()")); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceProxy: 1366s # * 1366s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceProxyClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1366s # */ 1366s # 1366s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1366s # { 1366s # GData *qdata; 1366s # }; 1366s # 1366s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1366s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1366s # { 1366s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1366s # g_datalist_clear (&proxy->priv->qdata); 1366s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1366s # guint prop_id G_GNUC_UNUSED, 1366s # GValue *value G_GNUC_UNUSED, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1366s # guint prop_id G_GNUC_UNUSED, 1366s # const GValue *value G_GNUC_UNUSED, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1366s # const gchar *sender_name G_GNUC_UNUSED, 1366s # const gchar *signal_name, 1366s # GVariant *parameters) 1366s # { 1366s # _ExtendedGDBusSignalInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # gsize n; 1366s # guint signal_id; 1366s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1366s # if (info == NULL) 1366s # return; 1366s # num_params = g_variant_n_children (parameters); 1366s # paramv = g_new0 (GValue, num_params + 1); 1366s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1366s # g_value_set_object (¶mv[0], proxy); 1366s # g_variant_iter_init (&iter, parameters); 1366s # n = 1; 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1366s # g_signal_emitv (paramv, signal_id, 0, NULL); 1366s # for (n = 0; n < num_params + 1; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1366s # GVariant *changed_properties, 1366s # const gchar *const *invalidated_properties) 1366s # { 1366s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1366s # guint n; 1366s # const gchar *key; 1366s # GVariantIter *iter; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # g_variant_get (changed_properties, "a{sv}", &iter); 1366s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1366s # g_datalist_remove_data (&proxy->priv->qdata, key); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # g_variant_iter_free (iter); 1366s # for (n = 0; invalidated_properties[n] != NULL; n++) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1366s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1366s # #else 1366s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1366s # #endif 1366s # 1366s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusProxyClass *proxy_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1366s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1366s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1366s # 1366s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1366s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1366s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # org_project_other_callable_iface_proxy_new ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_proxy_new_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_sync: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_proxy_new_sync ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_for_bus: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # org_project_other_callable_iface_proxy_new_for_bus ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceSkeleton: 1366s # * 1366s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceSkeletonClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1366s # */ 1366s # 1366s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1366s # { 1366s # GValue *properties; 1366s # GList *changed_properties; 1366s # GSource *changed_properties_idle_source; 1366s # GMainContext *context; 1366s # GMutex lock; 1366s # }; 1366s # 1366s # static void 1366s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name, 1366s # const gchar *method_name, 1366s # GVariant *parameters, 1366s # GDBusMethodInvocation *invocation, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1366s # _ExtendedGDBusMethodInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # guint num_extra; 1366s # gsize n; 1366s # guint signal_id; 1366s # GValue return_value = G_VALUE_INIT; 1366s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1366s # g_assert (info != NULL); 1366s # num_params = g_variant_n_children (parameters); 1366s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1366s # n = 0; 1366s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1366s # g_value_set_object (¶mv[n++], skeleton); 1366s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1366s # g_value_set_object (¶mv[n++], invocation); 1366s # if (info->pass_fdlist) 1366s # { 1366s # #ifdef G_OS_UNIX 1366s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1366s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1366s # #else 1366s # g_assert_not_reached (); 1366s # #endif 1366s # } 1366s # g_variant_iter_init (&iter, parameters); 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1366s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1366s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1366s # if (!g_value_get_boolean (&return_value)) 1366s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1366s # g_value_unset (&return_value); 1366s # for (n = 0; n < num_params + num_extra; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static GVariant * 1366s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *ret; 1366s # ret = NULL; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # g_value_init (&value, pspec->value_type); 1366s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_value_unset (&value); 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GVariant *variant, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # gboolean ret; 1366s # ret = FALSE; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # if (info->use_gvariant) 1366s # g_value_set_variant (&value, variant); 1366s # else 1366s # g_dbus_gvariant_to_gvalue (variant, &value); 1366s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # g_value_unset (&value); 1366s # ret = TRUE; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1366s # { 1366s # _org_project_other_callable_iface_skeleton_handle_method_call, 1366s # _org_project_other_callable_iface_skeleton_handle_get_property, 1366s # _org_project_other_callable_iface_skeleton_handle_set_property, 1366s # {NULL} 1366s # }; 1366s # 1366s # static GDBusInterfaceInfo * 1366s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return org_project_other_callable_iface_interface_info (); 1366s # } 1366s # 1366s # static GDBusInterfaceVTable * 1366s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1366s # } 1366s # 1366s # static GVariant * 1366s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1366s # 1366s # GVariantBuilder builder; 1366s # guint n; 1366s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1366s # goto out; 1366s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1366s # { 1366s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1366s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1366s # { 1366s # GVariant *value; 1366s # 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); 1366s # if (value != NULL) 1366s # { 1366s # g_variant_take_ref (value); 1366s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1366s # g_variant_unref (value); 1366s # } 1366s # } 1366s # } 1366s # out: 1366s # return g_variant_builder_end (&builder); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # g_main_context_unref (skeleton->priv->context); 1366s # g_mutex_clear (&skeleton->priv->lock); 1366s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1366s # #else 1366s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1366s # #endif 1366s # 1366s # g_mutex_init (&skeleton->priv->lock); 1366s # skeleton->priv->context = g_main_context_ref_thread_default (); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusInterfaceSkeletonClass *skeleton_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1366s # 1366s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1366s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1366s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1366s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1366s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_skeleton_new: 1366s # * 1366s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_skeleton_new (void) 1366s # { 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1366s # } 1367s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1367s # tmpdir: /tmp/tmpubpebw3q 1367s # codegen: /usr/bin/gdbus-codegen 1367s # /tmp/tmpubpebw3q/tmp8fond31i.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmp8fond31i.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # gboolean arg_arg_b, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_boolean (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_b", 1367s # (gchar *) "b", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodB", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-b", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_b: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-b", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_b, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_b: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_b: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_b ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gboolean arg_arg_b, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodB", 1367s # g_variant_new ("(b)", 1367s # arg_arg_b), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_b_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_b_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_b_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_b: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_b_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gboolean arg_arg_b, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodB", 1367s # g_variant_new ("(b)", 1367s # arg_arg_b), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_b: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_b ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmp8a_yhgv4.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmp8a_yhgv4.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # guchar arg_arg_y, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_uchar (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_y", 1367s # (gchar *) "y", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodY", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-y", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_y: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-y", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_y, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_y: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_y: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_y ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guchar arg_arg_y, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodY", 1367s # g_variant_new ("(y)", 1367s # arg_arg_y), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_y_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_y_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_y_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_y: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_y_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guchar arg_arg_y, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodY", 1367s # g_variant_new ("(y)", 1367s # arg_arg_y), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_y: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_y ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmpe974hu1w.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmpe974hu1w.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # gint16 arg_arg_n, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_int (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_n", 1367s # (gchar *) "n", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodN", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-n", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_n: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-n", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_n, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_n: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_n: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_n ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint16 arg_arg_n, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodN", 1367s # g_variant_new ("(n)", 1367s # arg_arg_n), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_n_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_n_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_n_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_n: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_n_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint16 arg_arg_n, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodN", 1367s # g_variant_new ("(n)", 1367s # arg_arg_n), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_n: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_n ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmp1oirhlb1.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmp1oirhlb1.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # guint16 arg_arg_q, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_uint (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_q", 1367s # (gchar *) "q", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodQ", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-q", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_q: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-q", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_q, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_q: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_q: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_q ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint16 arg_arg_q, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodQ", 1367s # g_variant_new ("(q)", 1367s # arg_arg_q), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_q_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_q_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_q_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_q: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_q_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint16 arg_arg_q, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodQ", 1367s # g_variant_new ("(q)", 1367s # arg_arg_q), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_q: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_q ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmph8e08vl5.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmph8e08vl5.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # gint arg_arg_i, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_int (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_i", 1367s # (gchar *) "i", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodI", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-i", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_i: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-i", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_i, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_i: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_i: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_i ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint arg_arg_i, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodI", 1367s # g_variant_new ("(i)", 1367s # arg_arg_i), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_i_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_i_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_i_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_i: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_i_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint arg_arg_i, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodI", 1367s # g_variant_new ("(i)", 1367s # arg_arg_i), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_i: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_i ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmpd9j6gmop.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmpd9j6gmop.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # guint arg_arg_u, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_uint (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_u", 1367s # (gchar *) "u", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodU", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-u", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_u: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-u", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_u, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_u: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_u: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_u ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint arg_arg_u, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodU", 1367s # g_variant_new ("(u)", 1367s # arg_arg_u), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_u_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_u_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_u_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_u: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_u_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint arg_arg_u, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodU", 1367s # g_variant_new ("(u)", 1367s # arg_arg_u), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_u: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_u ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmp7mk85iv9.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmp7mk85iv9.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # gint64 arg_arg_x, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_int64 (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_x", 1367s # (gchar *) "x", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodX", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-x", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_x: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-x", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_x, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_x: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_x: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_x ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint64 arg_arg_x, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodX", 1367s # g_variant_new ("(x)", 1367s # arg_arg_x), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_x_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_x_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_x_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_x: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_x_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint64 arg_arg_x, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodX", 1367s # g_variant_new ("(x)", 1367s # arg_arg_x), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_x: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_x ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmpsu6dvzmq.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmpsu6dvzmq.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # guint64 arg_arg_t, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_uint64 (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_t", 1367s # (gchar *) "t", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodT", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-t", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_t: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-t", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_t, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_t: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_t: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_t ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint64 arg_arg_t, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodT", 1367s # g_variant_new ("(t)", 1367s # arg_arg_t), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_t_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_t_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_t_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_t: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_t_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint64 arg_arg_t, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodT", 1367s # g_variant_new ("(t)", 1367s # arg_arg_t), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_t: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_t ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmpu9j79f1z.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmpu9j79f1z.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # gdouble arg_arg_d, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_double (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_d", 1367s # (gchar *) "d", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodD", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-d", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_d: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-d", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_d, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_d: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_d: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_d ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gdouble arg_arg_d, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodD", 1367s # g_variant_new ("(d)", 1367s # arg_arg_d), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_d_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_d_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_d_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_d: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_d_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gdouble arg_arg_d, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodD", 1367s # g_variant_new ("(d)", 1367s # arg_arg_d), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_d: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_d ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmpfq832gdy.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmpfq832gdy.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *arg_arg_s, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_string (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_s", 1367s # (gchar *) "s", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodS", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-s", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_s: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-s", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_s, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_s: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_s: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_s ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_s, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodS", 1367s # g_variant_new ("(s)", 1367s # arg_arg_s), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_s_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_s_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_s_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_s: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_s_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_s, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodS", 1367s # g_variant_new ("(s)", 1367s # arg_arg_s), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_s: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_s ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmpnu54k6ya.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmpnu54k6ya.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *arg_arg_o, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_string (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_o", 1367s # (gchar *) "o", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodO", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-o", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_o: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-o", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_o, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_o: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_o: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_o ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_o, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodO", 1367s # g_variant_new ("(o)", 1367s # arg_arg_o), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_o_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_o_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_o_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_o: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_o_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_o, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodO", 1367s # g_variant_new ("(o)", 1367s # arg_arg_o), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_o: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_o ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmpy19fwio2.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmpy19fwio2.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *arg_arg_g, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_string (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_g", 1367s # (gchar *) "g", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodG", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-g", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_g: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-g", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_g, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_g: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_g: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_g ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_g, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodG", 1367s # g_variant_new ("(g)", 1367s # arg_arg_g), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_g_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_g_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_g_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_g: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_g_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_g, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodG", 1367s # g_variant_new ("(g)", 1367s # arg_arg_g), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_g: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_g ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmp22smk9dv.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmp22smk9dv.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # GVariant *arg_arg_h, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_variant (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_h", 1367s # (gchar *) "h", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodH", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-h", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_h: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-h", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_h, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_h: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_h: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_h ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant *arg_arg_h, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodH", 1367s # g_variant_new ("(@h)", 1367s # arg_arg_h), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_h_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_h_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_h_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_h: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_h_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant *arg_arg_h, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodH", 1367s # g_variant_new ("(@h)", 1367s # arg_arg_h), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_h: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_h ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmp_271s79b.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmp_271s79b.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *arg_arg_ay, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_string (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_ay", 1367s # (gchar *) "ay", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAy", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-ay", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_ay: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-ay", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ay: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_ay: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_ay ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_ay, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAy", 1367s # g_variant_new ("(^ay)", 1367s # arg_arg_ay), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_ay: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_ay, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAy", 1367s # g_variant_new ("(^ay)", 1367s # arg_arg_ay), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_ay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_ay ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmp67qqze_2.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmp67qqze_2.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *const *arg_arg_as, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_boxed (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_as", 1367s # (gchar *) "as", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAs", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-as", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_as: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-as", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_as, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_as: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_as: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_as ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_as, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAs", 1367s # g_variant_new ("(^as)", 1367s # arg_arg_as), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_as_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_as_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_as_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_as: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_as_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_as, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAs", 1367s # g_variant_new ("(^as)", 1367s # arg_arg_as), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_as: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_as ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmpscahj7wp.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmpscahj7wp.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *const *arg_arg_ao, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_boxed (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_ao", 1367s # (gchar *) "ao", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAo", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-ao", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_ao: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-ao", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ao: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_ao: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_ao ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_ao, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAo", 1367s # g_variant_new ("(^ao)", 1367s # arg_arg_ao), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_ao: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_ao, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAo", 1367s # g_variant_new ("(^ao)", 1367s # arg_arg_ao), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_ao: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_ao ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmp3rbbyhyd.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmp3rbbyhyd.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *const *arg_arg_aay, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_boxed (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_aay", 1367s # (gchar *) "aay", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAay", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-aay", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_aay: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-aay", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_aay: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_aay: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_aay ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_aay, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAay", 1367s # g_variant_new ("(^aay)", 1367s # arg_arg_aay), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_aay: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_aay, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAay", 1367s # g_variant_new ("(^aay)", 1367s # arg_arg_aay), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_aay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_aay ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # /tmp/tmpubpebw3q/tmp1l55zhzm.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpebw3q/tmp1l55zhzm.xml', '--output', '-', '--body'] 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Output: /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # GVariant *arg_arg_asv, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_variant (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_asv", 1367s # (gchar *) "a{sv}", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAsv", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-asv", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_asv: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-asv", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_asv: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_asv: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_asv ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant *arg_arg_asv, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAsv", 1367s # g_variant_new ("(@a{sv})", 1367s # arg_arg_asv), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_asv: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant *arg_arg_asv, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAsv", 1367s # g_variant_new ("(@a{sv})", 1367s # arg_arg_asv), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_asv: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_asv ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1368s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1368s # tmpdir: /tmp/tmp4gci0kvc 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmp4gci0kvc/tmpp2o0wbed.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpp2o0wbed.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodB", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-b", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-b", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_b, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_b: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_b ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodB", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_b_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_b_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gboolean *out_arg_b, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(b)", 1368s # out_arg_b); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_b_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_b_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gboolean *out_arg_b, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodB", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(b)", 1368s # out_arg_b); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_b: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_b: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_b ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # gboolean arg_b) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(b)", 1368s # arg_b)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpp8wcmm7l.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpp8wcmm7l.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodY", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-y", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-y", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_y, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_y: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_y ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodY", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_y_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_y_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # guchar *out_arg_y, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(y)", 1368s # out_arg_y); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_y_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_y_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # guchar *out_arg_y, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodY", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(y)", 1368s # out_arg_y); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_y: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_y: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_y ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # guchar arg_y) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(y)", 1368s # arg_y)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmp3yd7az5h.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmp3yd7az5h.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodN", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-n", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-n", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_n, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_n: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_n ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodN", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_n_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_n_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gint16 *out_arg_n, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(n)", 1368s # out_arg_n); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_n_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_n_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gint16 *out_arg_n, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodN", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(n)", 1368s # out_arg_n); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_n: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_n: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_n ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # gint16 arg_n) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(n)", 1368s # arg_n)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmp671swf4z.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmp671swf4z.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodQ", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-q", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-q", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_q, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_q: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_q ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodQ", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_q_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_q_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # guint16 *out_arg_q, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(q)", 1368s # out_arg_q); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_q_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_q_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # guint16 *out_arg_q, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodQ", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(q)", 1368s # out_arg_q); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_q: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_q: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_q ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # guint16 arg_q) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(q)", 1368s # arg_q)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpvc88ed2o.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpvc88ed2o.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodI", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-i", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-i", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_i, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_i: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_i ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodI", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_i_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_i_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gint *out_arg_i, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(i)", 1368s # out_arg_i); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_i_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_i_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gint *out_arg_i, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodI", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(i)", 1368s # out_arg_i); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_i: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_i: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_i ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # gint arg_i) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(i)", 1368s # arg_i)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmp5gxhrtyu.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmp5gxhrtyu.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodU", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-u", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-u", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_u, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_u: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_u ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodU", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_u_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_u_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # guint *out_arg_u, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(u)", 1368s # out_arg_u); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_u_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_u_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # guint *out_arg_u, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodU", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(u)", 1368s # out_arg_u); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_u: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_u: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_u ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # guint arg_u) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(u)", 1368s # arg_u)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpxmq9l6as.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpxmq9l6as.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodX", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-x", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-x", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_x, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_x: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_x ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodX", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_x_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_x_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gint64 *out_arg_x, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(x)", 1368s # out_arg_x); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_x_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_x_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gint64 *out_arg_x, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodX", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(x)", 1368s # out_arg_x); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_x: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_x: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_x ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # gint64 arg_x) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(x)", 1368s # arg_x)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpi9e14yb8.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpi9e14yb8.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodT", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-t", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-t", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_t, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_t: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_t ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodT", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_t_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_t_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # guint64 *out_arg_t, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(t)", 1368s # out_arg_t); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_t_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_t_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # guint64 *out_arg_t, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodT", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(t)", 1368s # out_arg_t); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_t: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_t: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_t ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # guint64 arg_t) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(t)", 1368s # arg_t)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpg5pg7byi.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpg5pg7byi.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodD", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-d", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-d", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_d, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_d: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_d ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodD", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_d_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_d_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gdouble *out_arg_d, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(d)", 1368s # out_arg_d); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_d_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_d_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gdouble *out_arg_d, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodD", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(d)", 1368s # out_arg_d); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_d: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_d: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_d ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # gdouble arg_d) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(d)", 1368s # arg_d)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpxk8wevrs.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpxk8wevrs.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodS", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-s", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-s", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_s, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_s: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_s ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodS", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_s_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_s_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar **out_arg_s, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(s)", 1368s # out_arg_s); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_s_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_s_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar **out_arg_s, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodS", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(s)", 1368s # out_arg_s); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_s: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_s: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_s ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # const gchar *arg_s) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(s)", 1368s # arg_s)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpj4p269_3.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpj4p269_3.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodO", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-o", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-o", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_o, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_o: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_o ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodO", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_o_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_o_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar **out_arg_o, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(o)", 1368s # out_arg_o); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_o_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_o_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar **out_arg_o, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodO", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(o)", 1368s # out_arg_o); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_o: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_o: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_o ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # const gchar *arg_o) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(o)", 1368s # arg_o)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpcsafvcub.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpcsafvcub.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodG", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-g", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-g", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_g, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_g: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_g ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodG", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_g_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_g_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar **out_arg_g, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(g)", 1368s # out_arg_g); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_g_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_g_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar **out_arg_g, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodG", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(g)", 1368s # out_arg_g); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_g: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_g: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_g ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # const gchar *arg_g) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(g)", 1368s # arg_g)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpfaj9n6jw.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpfaj9n6jw.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodH", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-h", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-h", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_h, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_h: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_h ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodH", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_h_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_h_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GVariant **out_arg_h, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(@h)", 1368s # out_arg_h); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_h_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_h_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GVariant **out_arg_h, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodH", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(@h)", 1368s # out_arg_h); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_h: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_h: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_h ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # GVariant *arg_h) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(@h)", 1368s # arg_h)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmprw3fhc0g.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmprw3fhc0g.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodAy", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-ay", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-ay", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_ay: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_ay ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAy", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar **out_arg_ay, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^ay)", 1368s # out_arg_ay); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar **out_arg_ay, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAy", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^ay)", 1368s # out_arg_ay); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_ay: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_ay: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_ay ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # const gchar *arg_ay) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(^ay)", 1368s # arg_ay)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpg3ixzxaa.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpg3ixzxaa.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodAs", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-as", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-as", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_as, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_as: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_as ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAs", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_as_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_as_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar ***out_arg_as, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^as)", 1368s # out_arg_as); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_as_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_as_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar ***out_arg_as, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAs", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^as)", 1368s # out_arg_as); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_as: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_as: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_as ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # const gchar *const *arg_as) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(^as)", 1368s # arg_as)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmppirsjfxr.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmppirsjfxr.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodAo", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-ao", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-ao", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_ao: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_ao ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAo", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar ***out_arg_ao, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^ao)", 1368s # out_arg_ao); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar ***out_arg_ao, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAo", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^ao)", 1368s # out_arg_ao); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_ao: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_ao: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_ao ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # const gchar *const *arg_ao) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(^ao)", 1368s # arg_ao)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpnhwo_pqm.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpnhwo_pqm.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodAay", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-aay", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-aay", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_aay: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_aay ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAay", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar ***out_arg_aay, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^aay)", 1368s # out_arg_aay); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar ***out_arg_aay, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAay", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^aay)", 1368s # out_arg_aay); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_aay: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_aay: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_aay ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # const gchar *const *arg_aay) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(^aay)", 1368s # arg_aay)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # /tmp/tmp4gci0kvc/tmpaedmxzfs.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4gci0kvc/tmpaedmxzfs.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodAsv", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-asv", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-asv", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_asv: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_asv ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAsv", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GVariant **out_arg_asv, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(@a{sv})", 1368s # out_arg_asv); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GVariant **out_arg_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAsv", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(@a{sv})", 1368s # out_arg_asv); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_asv: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_asv: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_asv ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # GVariant *arg_asv) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(@a{sv})", 1368s # arg_asv)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1368s # tmpdir: /tmp/tmp6ogsrf8a 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmp6ogsrf8a/tmprm9bu8ls.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6ogsrf8a/tmprm9bu8ls.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 20); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # g_marshal_value_peek_boolean (param_values + 2), 1368s # g_marshal_value_peek_uchar (param_values + 3), 1368s # g_marshal_value_peek_int (param_values + 4), 1368s # g_marshal_value_peek_uint (param_values + 5), 1368s # g_marshal_value_peek_int (param_values + 6), 1368s # g_marshal_value_peek_uint (param_values + 7), 1368s # g_marshal_value_peek_int64 (param_values + 8), 1368s # g_marshal_value_peek_uint64 (param_values + 9), 1368s # g_marshal_value_peek_double (param_values + 10), 1368s # g_marshal_value_peek_string (param_values + 11), 1368s # g_marshal_value_peek_string (param_values + 12), 1368s # g_marshal_value_peek_string (param_values + 13), 1368s # g_marshal_value_peek_variant (param_values + 14), 1368s # g_marshal_value_peek_string (param_values + 15), 1368s # g_marshal_value_peek_boxed (param_values + 16), 1368s # g_marshal_value_peek_boxed (param_values + 17), 1368s # g_marshal_value_peek_boxed (param_values + 18), 1368s # g_marshal_value_peek_variant (param_values + 19), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.CallableIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectCallableIface 1368s # * @title: OrgProjectCallableIface 1368s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.CallableIface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "MethodWithManyArgs", 1368s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "handle-method-with-many-args", 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SameMethodWithManyArgs", 1368s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "handle-same-method-with-many-args", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.CallableIface", 1368s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-callable-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_callable_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_callable_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_callable_iface_method_marshal_method_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _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, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _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, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectCallableIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1368s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.CallableIface. 1368s # */ 1368s # 1368s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectCallableIface::handle-method-with-many-args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * @arg_an_b: Argument passed by remote caller. 1368s # * @arg_an_y: Argument passed by remote caller. 1368s # * @arg_an_n: Argument passed by remote caller. 1368s # * @arg_an_q: Argument passed by remote caller. 1368s # * @arg_an_i: Argument passed by remote caller. 1368s # * @arg_an_u: Argument passed by remote caller. 1368s # * @arg_an_x: Argument passed by remote caller. 1368s # * @arg_an_t: Argument passed by remote caller. 1368s # * @arg_an_d: Argument passed by remote caller. 1368s # * @arg_an_s: Argument passed by remote caller. 1368s # * @arg_an_o: Argument passed by remote caller. 1368s # * @arg_an_g: Argument passed by remote caller. 1368s # * @arg_an_h: Argument passed by remote caller. 1368s # * @arg_an_ay: Argument passed by remote caller. 1368s # * @arg_an_as: Argument passed by remote caller. 1368s # * @arg_an_ao: Argument passed by remote caller. 1368s # * @arg_an_aay: Argument passed by remote caller. 1368s # * @arg_an_asv: Argument passed by remote caller. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-method-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_callable_iface_method_marshal_method_with_many_args, 1368s # G_TYPE_BOOLEAN, 1368s # 19, 1368s # 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); 1368s # 1368s # /** 1368s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * @arg_an_b: Argument passed by remote caller. 1368s # * @arg_an_y: Argument passed by remote caller. 1368s # * @arg_an_n: Argument passed by remote caller. 1368s # * @arg_an_q: Argument passed by remote caller. 1368s # * @arg_an_i: Argument passed by remote caller. 1368s # * @arg_an_u: Argument passed by remote caller. 1368s # * @arg_an_x: Argument passed by remote caller. 1368s # * @arg_an_t: Argument passed by remote caller. 1368s # * @arg_an_d: Argument passed by remote caller. 1368s # * @arg_an_s: Argument passed by remote caller. 1368s # * @arg_an_o: Argument passed by remote caller. 1368s # * @arg_an_g: Argument passed by remote caller. 1368s # * @arg_an_h: Argument passed by remote caller. 1368s # * @arg_an_ay: Argument passed by remote caller. 1368s # * @arg_an_as: Argument passed by remote caller. 1368s # * @arg_an_ao: Argument passed by remote caller. 1368s # * @arg_an_aay: Argument passed by remote caller. 1368s # * @arg_an_asv: Argument passed by remote caller. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-same-method-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1368s # G_TYPE_BOOLEAN, 1368s # 19, 1368s # 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); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_callable_iface_call_method_with_many_args ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args_finish: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_method_with_many_args_finish ( 1368s # OrgProjectCallableIface *proxy, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args_sync: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_method_with_many_args_sync ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_same_method_with_many_args: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_callable_iface_call_same_method_with_many_args ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SameMethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1368s # OrgProjectCallableIface *proxy, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SameMethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_complete_method_with_many_args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_callable_iface_complete_method_with_many_args ( 1368s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("()")); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_complete_same_method_with_many_args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_callable_iface_complete_same_method_with_many_args ( 1368s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("()")); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceProxy: 1368s # * 1368s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectCallableIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectCallableIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_callable_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_callable_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_callable_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectCallableIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_callable_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_callable_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_callable_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1368s # { 1368s # _org_project_callable_iface_skeleton_handle_method_call, 1368s # _org_project_callable_iface_skeleton_handle_get_property, 1368s # _org_project_callable_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_callable_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_callable_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.OtherCallableIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectOtherCallableIface 1368s # * @title: OrgProjectOtherCallableIface 1368s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1368s # { 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "MethodWithManyArgs", 1368s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "handle-method-with-many-args", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1368s # { 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.OtherCallableIface", 1368s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-other-callable-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_other_callable_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _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, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1368s # */ 1368s # 1368s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1368s # * @object: A #OrgProjectOtherCallableIface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * @arg_an_b: Argument passed by remote caller. 1368s # * @arg_an_y: Argument passed by remote caller. 1368s # * @arg_an_n: Argument passed by remote caller. 1368s # * @arg_an_q: Argument passed by remote caller. 1368s # * @arg_an_i: Argument passed by remote caller. 1368s # * @arg_an_u: Argument passed by remote caller. 1368s # * @arg_an_x: Argument passed by remote caller. 1368s # * @arg_an_t: Argument passed by remote caller. 1368s # * @arg_an_d: Argument passed by remote caller. 1368s # * @arg_an_s: Argument passed by remote caller. 1368s # * @arg_an_o: Argument passed by remote caller. 1368s # * @arg_an_g: Argument passed by remote caller. 1368s # * @arg_an_h: Argument passed by remote caller. 1368s # * @arg_an_ay: Argument passed by remote caller. 1368s # * @arg_an_as: Argument passed by remote caller. 1368s # * @arg_an_ao: Argument passed by remote caller. 1368s # * @arg_an_aay: Argument passed by remote caller. 1368s # * @arg_an_asv: Argument passed by remote caller. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-method-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1368s # G_TYPE_BOOLEAN, 1368s # 19, 1368s # 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); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_call_method_with_many_args: 1368s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_other_callable_iface_call_method_with_many_args ( 1368s # OrgProjectOtherCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1368s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1368s # OrgProjectOtherCallableIface *proxy, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1368s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1368s # OrgProjectOtherCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_complete_method_with_many_args: 1368s # * @object: A #OrgProjectOtherCallableIface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_other_callable_iface_complete_method_with_many_args ( 1368s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("()")); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceProxy: 1368s # * 1368s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_callable_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_callable_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1368s # { 1368s # _org_project_other_callable_iface_skeleton_handle_method_call, 1368s # _org_project_other_callable_iface_skeleton_handle_get_property, 1368s # _org_project_other_callable_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_other_callable_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1368s # } 1368s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1368s # tmpdir: /tmp/tmpsmn82i2z 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmpsmn82i2z/tmp2vv0wdr1.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsmn82i2z/tmp2vv0wdr1.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.CallableIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectCallableIface 1368s # * @title: OrgProjectCallableIface 1368s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.CallableIface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "MethodWithManyArgs", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-method-with-many-args", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.CallableIface", 1368s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-callable-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_callable_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_callable_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_callable_iface_method_marshal_method_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectCallableIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.CallableIface. 1368s # */ 1368s # 1368s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectCallableIface::handle-method-with-many-args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-method-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_callable_iface_method_marshal_method_with_many_args, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_callable_iface_call_method_with_many_args ( 1368s # OrgProjectCallableIface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args_finish: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_method_with_many_args_finish ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean *out_an_b, 1368s # guchar *out_an_y, 1368s # gint16 *out_an_n, 1368s # guint16 *out_an_q, 1368s # gint *out_an_i, 1368s # guint *out_an_u, 1368s # gint64 *out_an_x, 1368s # guint64 *out_an_t, 1368s # gdouble *out_an_d, 1368s # gchar **out_an_s, 1368s # gchar **out_an_o, 1368s # gchar **out_an_g, 1368s # GVariant **out_an_h, 1368s # gchar **out_an_ay, 1368s # gchar ***out_an_as, 1368s # gchar ***out_an_ao, 1368s # gchar ***out_an_aay, 1368s # GVariant **out_an_asv, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # out_an_b, 1368s # out_an_y, 1368s # out_an_n, 1368s # out_an_q, 1368s # out_an_i, 1368s # out_an_u, 1368s # out_an_x, 1368s # out_an_t, 1368s # out_an_d, 1368s # out_an_s, 1368s # out_an_o, 1368s # out_an_g, 1368s # out_an_h, 1368s # out_an_ay, 1368s # out_an_as, 1368s # out_an_ao, 1368s # out_an_aay, 1368s # out_an_asv); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args_sync: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_method_with_many_args_sync ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean *out_an_b, 1368s # guchar *out_an_y, 1368s # gint16 *out_an_n, 1368s # guint16 *out_an_q, 1368s # gint *out_an_i, 1368s # guint *out_an_u, 1368s # gint64 *out_an_x, 1368s # guint64 *out_an_t, 1368s # gdouble *out_an_d, 1368s # gchar **out_an_s, 1368s # gchar **out_an_o, 1368s # gchar **out_an_g, 1368s # GVariant **out_an_h, 1368s # gchar **out_an_ay, 1368s # gchar ***out_an_as, 1368s # gchar ***out_an_ao, 1368s # gchar ***out_an_aay, 1368s # GVariant **out_an_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # out_an_b, 1368s # out_an_y, 1368s # out_an_n, 1368s # out_an_q, 1368s # out_an_i, 1368s # out_an_u, 1368s # out_an_x, 1368s # out_an_t, 1368s # out_an_d, 1368s # out_an_s, 1368s # out_an_o, 1368s # out_an_g, 1368s # out_an_h, 1368s # out_an_ay, 1368s # out_an_as, 1368s # out_an_ao, 1368s # out_an_aay, 1368s # out_an_asv); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_complete_method_with_many_args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @an_b: Parameter to return. 1368s # * @an_y: Parameter to return. 1368s # * @an_n: Parameter to return. 1368s # * @an_q: Parameter to return. 1368s # * @an_i: Parameter to return. 1368s # * @an_u: Parameter to return. 1368s # * @an_x: Parameter to return. 1368s # * @an_t: Parameter to return. 1368s # * @an_d: Parameter to return. 1368s # * @an_s: Parameter to return. 1368s # * @an_o: Parameter to return. 1368s # * @an_g: Parameter to return. 1368s # * @an_h: Parameter to return. 1368s # * @an_ay: Parameter to return. 1368s # * @an_as: Parameter to return. 1368s # * @an_ao: Parameter to return. 1368s # * @an_aay: Parameter to return. 1368s # * @an_asv: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_callable_iface_complete_method_with_many_args ( 1368s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # gboolean an_b, 1368s # guchar an_y, 1368s # gint16 an_n, 1368s # guint16 an_q, 1368s # gint an_i, 1368s # guint an_u, 1368s # gint64 an_x, 1368s # guint64 an_t, 1368s # gdouble an_d, 1368s # const gchar *an_s, 1368s # const gchar *an_o, 1368s # const gchar *an_g, 1368s # GVariant *an_h, 1368s # const gchar *an_ay, 1368s # const gchar *const *an_as, 1368s # const gchar *const *an_ao, 1368s # const gchar *const *an_aay, 1368s # GVariant *an_asv) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # an_b, 1368s # an_y, 1368s # an_n, 1368s # an_q, 1368s # an_i, 1368s # an_u, 1368s # an_x, 1368s # an_t, 1368s # an_d, 1368s # an_s, 1368s # an_o, 1368s # an_g, 1368s # an_h, 1368s # an_ay, 1368s # an_as, 1368s # an_ao, 1368s # an_aay, 1368s # an_asv)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceProxy: 1368s # * 1368s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectCallableIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectCallableIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_callable_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_callable_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_callable_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectCallableIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_callable_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_callable_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_callable_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1368s # { 1368s # _org_project_callable_iface_skeleton_handle_method_call, 1368s # _org_project_callable_iface_skeleton_handle_get_property, 1368s # _org_project_callable_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_callable_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_callable_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1368s # } 1368s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1368s # tmpdir: /tmp/tmp1etyyx30 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmp1etyyx30/tmp9p44yvpc.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1etyyx30/tmp9p44yvpc.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1368s # (void *data1, 1368s # GUnixFDList *arg_fd_list, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # const gchar *arg_greeting, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 4); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # g_marshal_value_peek_object (param_values + 2), 1368s # g_marshal_value_peek_string (param_values + 3), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface test.FDPassing 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:TestFDPassing 1368s # * @title: TestFDPassing 1368s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1368s # * 1368s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for test.FDPassing ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "greeting", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1368s # { 1368s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "response", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1368s # { 1368s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "HelloFD", 1368s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1368s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-hello-fd", 1368s # TRUE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1368s # { 1368s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "test.FDPassing", 1368s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "test-fdpassing", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * test_fdpassing_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # test_fdpassing_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # test_fdpassing_method_marshal_hello_fd ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * TestFDPassing: 1368s # * 1368s # * Abstract interface type for the D-Bus interface test.FDPassing. 1368s # */ 1368s # 1368s # /** 1368s # * TestFDPassingIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1368s # * 1368s # * Virtual table for the D-Bus interface test.FDPassing. 1368s # */ 1368s # 1368s # typedef TestFDPassingIface TestFDPassingInterface; 1368s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # test_fdpassing_default_init (TestFDPassingIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * TestFDPassing::handle-hello-fd: 1368s # * @object: A #TestFDPassing. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1368s # * @arg_greeting: Argument passed by remote caller. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-hello-fd", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # test_fdpassing_method_marshal_hello_fd, 1368s # G_TYPE_BOOLEAN, 1368s # 3, 1368s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_call_hello_fd: 1368s # * @proxy: A #TestFDPassingProxy. 1368s # * @arg_greeting: Argument to pass with the method invocation. 1368s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1368s # * 1368s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # test_fdpassing_call_hello_fd ( 1368s # TestFDPassing *proxy, 1368s # const gchar *arg_greeting, 1368s # GUnixFDList *fd_list, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1368s # "HelloFD", 1368s # g_variant_new ("(s)", 1368s # arg_greeting), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # fd_list, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_call_hello_fd_finish: 1368s # * @proxy: A #TestFDPassingProxy. 1368s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # test_fdpassing_call_hello_fd_finish ( 1368s # TestFDPassing *proxy, 1368s # gchar **out_response, 1368s # GUnixFDList **out_fd_list, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(s)", 1368s # out_response); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_call_hello_fd_sync: 1368s # * @proxy: A #TestFDPassingProxy. 1368s # * @arg_greeting: Argument to pass with the method invocation. 1368s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1368s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # test_fdpassing_call_hello_fd_sync ( 1368s # TestFDPassing *proxy, 1368s # const gchar *arg_greeting, 1368s # GUnixFDList *fd_list, 1368s # gchar **out_response, 1368s # GUnixFDList **out_fd_list, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1368s # "HelloFD", 1368s # g_variant_new ("(s)", 1368s # arg_greeting), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # fd_list, 1368s # out_fd_list, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(s)", 1368s # out_response); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_complete_hello_fd: 1368s # * @object: A #TestFDPassing. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1368s # * @response: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # test_fdpassing_complete_hello_fd ( 1368s # TestFDPassing *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # GUnixFDList *fd_list, 1368s # const gchar *response) 1368s # { 1368s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1368s # g_variant_new ("(s)", 1368s # response), 1368s # fd_list); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * TestFDPassingProxy: 1368s # * 1368s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * TestFDPassingProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #TestFDPassingProxy. 1368s # */ 1368s # 1368s # struct _TestFDPassingProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (TestFDPassingProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # test_fdpassing_proxy_finalize (GObject *object) 1368s # { 1368s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1368s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1368s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1368s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # test_fdpassing_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with test_fdpassing_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return TEST_FDPASSING (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return TEST_FDPASSING (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # test_fdpassing_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return TEST_FDPASSING (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return TEST_FDPASSING (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * TestFDPassingSkeleton: 1368s # * 1368s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * TestFDPassingSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #TestFDPassingSkeleton. 1368s # */ 1368s # 1368s # struct _TestFDPassingSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _test_fdpassing_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _test_fdpassing_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _test_fdpassing_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1368s # { 1368s # _test_fdpassing_skeleton_handle_method_call, 1368s # _test_fdpassing_skeleton_handle_get_property, 1368s # _test_fdpassing_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return test_fdpassing_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # test_fdpassing_skeleton_finalize (GObject *object) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_skeleton_new (void) 1368s # { 1368s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1368s # } 1368s ok 15 __main__.TestCodegen.test_generate_rst 1368s # tmpdir: /tmp/tmpmqog1ph3 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmpmqog1ph3/tmpo1d0y4s9.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmqog1ph3/tmpo1d0y4s9.xml', '--generate-rst', 'test'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: 1368s ok 16 __main__.TestCodegen.test_generate_rst_method 1368s # tmpdir: /tmp/tmpffckxo9j 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmpffckxo9j/tmprc4atq7x.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpffckxo9j/tmprc4atq7x.xml', '--generate-rst', 'test'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: 1368s ok 17 __main__.TestCodegen.test_generate_rst_property 1368s # tmpdir: /tmp/tmp2gv7ezug 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmp2gv7ezug/tmpt2sfugaz.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2gv7ezug/tmpt2sfugaz.xml', '--generate-rst', 'test'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: 1368s ok 18 __main__.TestCodegen.test_generate_rst_signal 1368s # tmpdir: /tmp/tmpuh9vnnqs 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmpuh9vnnqs/tmpepwp4ko_.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuh9vnnqs/tmpepwp4ko_.xml', '--generate-rst', 'test'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: 1368s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1368s # tmpdir: /tmp/tmp9qldtu5w 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmp9qldtu5w/tmphzlsv7_s.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9qldtu5w/tmphzlsv7_s.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1368s # GClosure *closure, 1368s # GValue *return_value G_GNUC_UNUSED, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1368s # (void *data1, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # void *data2); 1368s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # 1368s # g_return_if_fail (n_param_values == 19); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # callback (data1, 1368s # g_marshal_value_peek_boolean (param_values + 1), 1368s # g_marshal_value_peek_uchar (param_values + 2), 1368s # g_marshal_value_peek_int (param_values + 3), 1368s # g_marshal_value_peek_uint (param_values + 4), 1368s # g_marshal_value_peek_int (param_values + 5), 1368s # g_marshal_value_peek_uint (param_values + 6), 1368s # g_marshal_value_peek_int64 (param_values + 7), 1368s # g_marshal_value_peek_uint64 (param_values + 8), 1368s # g_marshal_value_peek_double (param_values + 9), 1368s # g_marshal_value_peek_string (param_values + 10), 1368s # g_marshal_value_peek_string (param_values + 11), 1368s # g_marshal_value_peek_string (param_values + 12), 1368s # g_marshal_value_peek_variant (param_values + 13), 1368s # g_marshal_value_peek_string (param_values + 14), 1368s # g_marshal_value_peek_boxed (param_values + 15), 1368s # g_marshal_value_peek_boxed (param_values + 16), 1368s # g_marshal_value_peek_boxed (param_values + 17), 1368s # g_marshal_value_peek_variant (param_values + 18), 1368s # data2); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SignalWithManyArgs", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "signal-with-many-args" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::signal-with-many-args: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_b: Argument. 1368s # * @arg_an_y: Argument. 1368s # * @arg_an_n: Argument. 1368s # * @arg_an_q: Argument. 1368s # * @arg_an_i: Argument. 1368s # * @arg_an_u: Argument. 1368s # * @arg_an_x: Argument. 1368s # * @arg_an_t: Argument. 1368s # * @arg_an_d: Argument. 1368s # * @arg_an_s: Argument. 1368s # * @arg_an_o: Argument. 1368s # * @arg_an_g: Argument. 1368s # * @arg_an_h: Argument. 1368s # * @arg_an_ay: Argument. 1368s # * @arg_an_as: Argument. 1368s # * @arg_an_ao: Argument. 1368s # * @arg_an_aay: Argument. 1368s # * @arg_an_asv: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1368s # g_signal_new ("signal-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1368s # G_TYPE_NONE, 1368s # 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); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_signal_with_many_args: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_b: Argument to pass with the signal. 1368s # * @arg_an_y: Argument to pass with the signal. 1368s # * @arg_an_n: Argument to pass with the signal. 1368s # * @arg_an_q: Argument to pass with the signal. 1368s # * @arg_an_i: Argument to pass with the signal. 1368s # * @arg_an_u: Argument to pass with the signal. 1368s # * @arg_an_x: Argument to pass with the signal. 1368s # * @arg_an_t: Argument to pass with the signal. 1368s # * @arg_an_d: Argument to pass with the signal. 1368s # * @arg_an_s: Argument to pass with the signal. 1368s # * @arg_an_o: Argument to pass with the signal. 1368s # * @arg_an_g: Argument to pass with the signal. 1368s # * @arg_an_h: Argument to pass with the signal. 1368s # * @arg_an_ay: Argument to pass with the signal. 1368s # * @arg_an_as: Argument to pass with the signal. 1368s # * @arg_an_ao: Argument to pass with the signal. 1368s # * @arg_an_aay: Argument to pass with the signal. 1368s # * @arg_an_asv: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SignalWithManyArgs" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_signal_with_many_args ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # Executing: glib/codegen.py.test 1368s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1368s # tmpdir: /tmp/tmphz9zx3ju 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmphz9zx3ju/tmpde8zsykc.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphz9zx3ju/tmpde8zsykc.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_VOID__INT64 ( 1368s # GClosure *closure, 1368s # GValue *return_value G_GNUC_UNUSED, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1368s # (void *data1, 1368s # gint64 arg_an_x, 1368s # void *data2); 1368s # _GDbusCodegenMarshalVoid_Int64Func callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # callback (data1, 1368s # g_marshal_value_peek_int64 (param_values + 1), 1368s # data2); 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1368s # GClosure *closure, 1368s # GValue *return_value G_GNUC_UNUSED, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1368s # (void *data1, 1368s # guint64 arg_an_t, 1368s # void *data2); 1368s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # callback (data1, 1368s # g_marshal_value_peek_uint64 (param_values + 1), 1368s # data2); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "NoArgSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "no-arg-signal" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalB", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-b" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalY", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-y" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalN", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-n" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalQ", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-q" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalI", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-i" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalU", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-u" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalX", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-x" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalT", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-t" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalD", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-d" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalS", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-s" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalO", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-o" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalG", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-g" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalH", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-h" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalAY", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-ay" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalAS", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-as" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalAO", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-ao" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalAAY", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-aay" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalASV", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-asv" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__UCHAR (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__INT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__UINT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__INT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__UINT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__DOUBLE (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VARIANT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__BOXED (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__BOXED (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__BOXED (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VARIANT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1368s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1368s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1368s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1368s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1368s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1368s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1368s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1368s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1368s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1368s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1368s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1368s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1368s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1368s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1368s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1368s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1368s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1368s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::no-arg-signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1368s # g_signal_new ("no-arg-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-b: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_b: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1368s # g_signal_new ("single-arg-signal-b", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_BOOLEAN); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-y: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_y: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1368s # g_signal_new ("single-arg-signal-y", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UCHAR); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-n: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_n: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1368s # g_signal_new ("single-arg-signal-n", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_INT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-q: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_q: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1368s # g_signal_new ("single-arg-signal-q", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UINT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-i: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_i: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1368s # g_signal_new ("single-arg-signal-i", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_INT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-u: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_u: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1368s # g_signal_new ("single-arg-signal-u", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UINT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-x: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_x: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1368s # g_signal_new ("single-arg-signal-x", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_INT64); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-t: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_t: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1368s # g_signal_new ("single-arg-signal-t", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UINT64); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-d: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_d: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1368s # g_signal_new ("single-arg-signal-d", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_DOUBLE); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-s: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_s: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1368s # g_signal_new ("single-arg-signal-s", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRING); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-o: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_o: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1368s # g_signal_new ("single-arg-signal-o", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRING); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-g: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_g: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1368s # g_signal_new ("single-arg-signal-g", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRING); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-h: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_h: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1368s # g_signal_new ("single-arg-signal-h", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_VARIANT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-ay: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_ay: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1368s # g_signal_new ("single-arg-signal-ay", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRING); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-as: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_as: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1368s # g_signal_new ("single-arg-signal-as", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRV); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-ao: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_ao: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1368s # g_signal_new ("single-arg-signal-ao", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRV); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-aay: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_aay: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1368s # g_signal_new ("single-arg-signal-aay", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRV); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-asv: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_asv: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1368s # g_signal_new ("single-arg-signal-asv", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_VARIANT); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_no_arg_signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * Emits the "NoArgSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_no_arg_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_b: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_b: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalB" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_b ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_an_b) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_y: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_y: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalY" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_y ( 1368s # OrgProjectSignalingIface *object, 1368s # guchar arg_an_y) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_n: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_n: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalN" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_n ( 1368s # OrgProjectSignalingIface *object, 1368s # gint16 arg_an_n) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_q: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_q: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalQ" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_q ( 1368s # OrgProjectSignalingIface *object, 1368s # guint16 arg_an_q) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_i: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_i: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalI" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_i ( 1368s # OrgProjectSignalingIface *object, 1368s # gint arg_an_i) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_u: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_u: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalU" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_u ( 1368s # OrgProjectSignalingIface *object, 1368s # guint arg_an_u) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_x: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_x: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalX" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_x ( 1368s # OrgProjectSignalingIface *object, 1368s # gint64 arg_an_x) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_t: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_t: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalT" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_t ( 1368s # OrgProjectSignalingIface *object, 1368s # guint64 arg_an_t) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_d: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_d: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalD" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_d ( 1368s # OrgProjectSignalingIface *object, 1368s # gdouble arg_an_d) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_s: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_s: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalS" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_s ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_s) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_o: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_o: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalO" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_o ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_o) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_g: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_g: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalG" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_g ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_g) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_h: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_h: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalH" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_h ( 1368s # OrgProjectSignalingIface *object, 1368s # GVariant *arg_an_h) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_ay: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalAY" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_ay) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_as: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_as: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalAS" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_as ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_as) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_ao: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalAO" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_ao) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_aay: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_aay) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_asv: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalASV" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1368s # OrgProjectSignalingIface *object, 1368s # GVariant *arg_an_asv) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_an_b) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1368s # arg_an_b)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1368s # OrgProjectSignalingIface *object, 1368s # guchar arg_an_y) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1368s # arg_an_y)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1368s # OrgProjectSignalingIface *object, 1368s # gint16 arg_an_n) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1368s # arg_an_n)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1368s # OrgProjectSignalingIface *object, 1368s # guint16 arg_an_q) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1368s # arg_an_q)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1368s # OrgProjectSignalingIface *object, 1368s # gint arg_an_i) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1368s # arg_an_i)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1368s # OrgProjectSignalingIface *object, 1368s # guint arg_an_u) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1368s # arg_an_u)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1368s # OrgProjectSignalingIface *object, 1368s # gint64 arg_an_x) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1368s # arg_an_x)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1368s # OrgProjectSignalingIface *object, 1368s # guint64 arg_an_t) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1368s # arg_an_t)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1368s # OrgProjectSignalingIface *object, 1368s # gdouble arg_an_d) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1368s # arg_an_d)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_s) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1368s # arg_an_s)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_o) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1368s # arg_an_o)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_g) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1368s # arg_an_g)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1368s # OrgProjectSignalingIface *object, 1368s # GVariant *arg_an_h) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1368s # arg_an_h)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_ay) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1368s # arg_an_ay)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_as) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1368s # arg_an_as)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_ao) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1368s # arg_an_ao)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_aay) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1368s # arg_an_aay)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1368s # OrgProjectSignalingIface *object, 1368s # GVariant *arg_an_asv) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1368s # arg_an_asv)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1368s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1368s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1368s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1368s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1368s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1368s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1368s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1368s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1368s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1368s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1368s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1368s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1368s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1368s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1368s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1368s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1368s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1368s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1368s # tmpdir: /tmp/tmpur8vmmfu 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmpur8vmmfu/tmpzer0ga77.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpur8vmmfu/tmpzer0ga77.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::simple-signal: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_useful_interface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_emit_simple_signal: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_useful_interface_emit_simple_signal ( 1368s # OrgProjectUsefulInterface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_useful_interface_on_signal_simple_signal ( 1368s # OrgProjectUsefulInterface *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.OtherIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectOtherIface 1368s # * @title: OrgProjectOtherIface 1368s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.OtherIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.OtherIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-other-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_other_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_other_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_other_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectOtherIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.OtherIface. 1368s # */ 1368s # 1368s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectOtherIface::simple-signal: 1368s # * @object: A #OrgProjectOtherIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_other_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectOtherIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_other_iface_emit_simple_signal ( 1368s # OrgProjectOtherIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceProxy: 1368s # * 1368s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_other_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_other_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_other_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1368s # { 1368s # _org_project_other_iface_skeleton_handle_method_call, 1368s # _org_project_other_iface_skeleton_handle_get_property, 1368s # _org_project_other_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_other_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_other_iface_on_signal_simple_signal ( 1368s # OrgProjectOtherIface *object) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1368s # } 1368s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1368s # tmpdir: /tmp/tmp2bc3sbxe 1368s # codegen: /usr/bin/gdbus-codegen 1368s # /tmp/tmp2bc3sbxe/tmpyt7rg9lf.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2bc3sbxe/tmpyt7rg9lf.xml', '--output', '-', '--body'] 1368s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1368s # Output: /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::simple-signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.OtherSignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectOtherSignalingIface 1368s # * @title: OrgProjectOtherSignalingIface 1368s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.OtherSignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-other-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_other_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectOtherSignalingIface::simple-signal: 1368s # * @object: A #OrgProjectOtherSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * 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. 1368s # */ 1368s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectOtherSignalingIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_other_signaling_iface_emit_simple_signal ( 1368s # OrgProjectOtherSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_other_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1368s # OrgProjectOtherSignalingIface *object) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1369s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1369s # tmpdir: /tmp/tmphmudjtp3 1369s # codegen: /usr/bin/gdbus-codegen 1369s # /tmp/tmphmudjtp3/tmp124cvwml.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmp124cvwml.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_b", 1369s # (gchar *) "b", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalB", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-b" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-b: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_b: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1369s # g_signal_new ("single-arg-signal-b", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_BOOLEAN); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_b: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_b: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalB" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_b ( 1369s # OrgProjectSignalingIface *object, 1369s # gboolean arg_arg_b) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1369s # OrgProjectSignalingIface *object, 1369s # gboolean arg_arg_b) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1369s # arg_arg_b)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpix0jcrma.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpix0jcrma.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_y", 1369s # (gchar *) "y", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalY", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-y" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__UCHAR (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-y: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_y: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1369s # g_signal_new ("single-arg-signal-y", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_UCHAR); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_y: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_y: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalY" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_y ( 1369s # OrgProjectSignalingIface *object, 1369s # guchar arg_arg_y) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1369s # OrgProjectSignalingIface *object, 1369s # guchar arg_arg_y) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1369s # arg_arg_y)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpsaaelp21.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpsaaelp21.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_n", 1369s # (gchar *) "n", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalN", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-n" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__INT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-n: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_n: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1369s # g_signal_new ("single-arg-signal-n", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_INT); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_n: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_n: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalN" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_n ( 1369s # OrgProjectSignalingIface *object, 1369s # gint16 arg_arg_n) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1369s # OrgProjectSignalingIface *object, 1369s # gint16 arg_arg_n) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1369s # arg_arg_n)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmp4pf8gfet.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmp4pf8gfet.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_q", 1369s # (gchar *) "q", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalQ", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-q" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__UINT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-q: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_q: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1369s # g_signal_new ("single-arg-signal-q", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_UINT); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_q: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_q: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalQ" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_q ( 1369s # OrgProjectSignalingIface *object, 1369s # guint16 arg_arg_q) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1369s # OrgProjectSignalingIface *object, 1369s # guint16 arg_arg_q) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1369s # arg_arg_q)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpfsph1sa3.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpfsph1sa3.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_i", 1369s # (gchar *) "i", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalI", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-i" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__INT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-i: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_i: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1369s # g_signal_new ("single-arg-signal-i", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_INT); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_i: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_i: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalI" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_i ( 1369s # OrgProjectSignalingIface *object, 1369s # gint arg_arg_i) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1369s # OrgProjectSignalingIface *object, 1369s # gint arg_arg_i) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1369s # arg_arg_i)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpzp3olumq.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpzp3olumq.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_u", 1369s # (gchar *) "u", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalU", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-u" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__UINT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-u: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_u: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1369s # g_signal_new ("single-arg-signal-u", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_UINT); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_u: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_u: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalU" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_u ( 1369s # OrgProjectSignalingIface *object, 1369s # guint arg_arg_u) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1369s # OrgProjectSignalingIface *object, 1369s # guint arg_arg_u) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1369s # arg_arg_u)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpd6ezxt04.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpd6ezxt04.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static void 1369s # _g_dbus_codegen_marshal_VOID__INT64 ( 1369s # GClosure *closure, 1369s # GValue *return_value G_GNUC_UNUSED, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint G_GNUC_UNUSED, 1369s # void *marshal_data) 1369s # { 1369s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1369s # (void *data1, 1369s # gint64 arg_arg_x, 1369s # void *data2); 1369s # _GDbusCodegenMarshalVoid_Int64Func callback; 1369s # GCClosure *cc = (GCClosure*) closure; 1369s # void *data1, *data2; 1369s # 1369s # g_return_if_fail (n_param_values == 2); 1369s # 1369s # if (G_CCLOSURE_SWAP_DATA (closure)) 1369s # { 1369s # data1 = closure->data; 1369s # data2 = g_value_peek_pointer (param_values + 0); 1369s # } 1369s # else 1369s # { 1369s # data1 = g_value_peek_pointer (param_values + 0); 1369s # data2 = closure->data; 1369s # } 1369s # 1369s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1369s # (marshal_data ? marshal_data : cc->callback); 1369s # 1369s # callback (data1, 1369s # g_marshal_value_peek_int64 (param_values + 1), 1369s # data2); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_x", 1369s # (gchar *) "x", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalX", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-x" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-x: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_x: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1369s # g_signal_new ("single-arg-signal-x", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_INT64); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_x: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_x: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalX" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_x ( 1369s # OrgProjectSignalingIface *object, 1369s # gint64 arg_arg_x) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1369s # OrgProjectSignalingIface *object, 1369s # gint64 arg_arg_x) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1369s # arg_arg_x)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmp0b7ywqy0.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmp0b7ywqy0.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static void 1369s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1369s # GClosure *closure, 1369s # GValue *return_value G_GNUC_UNUSED, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint G_GNUC_UNUSED, 1369s # void *marshal_data) 1369s # { 1369s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1369s # (void *data1, 1369s # guint64 arg_arg_t, 1369s # void *data2); 1369s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1369s # GCClosure *cc = (GCClosure*) closure; 1369s # void *data1, *data2; 1369s # 1369s # g_return_if_fail (n_param_values == 2); 1369s # 1369s # if (G_CCLOSURE_SWAP_DATA (closure)) 1369s # { 1369s # data1 = closure->data; 1369s # data2 = g_value_peek_pointer (param_values + 0); 1369s # } 1369s # else 1369s # { 1369s # data1 = g_value_peek_pointer (param_values + 0); 1369s # data2 = closure->data; 1369s # } 1369s # 1369s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1369s # (marshal_data ? marshal_data : cc->callback); 1369s # 1369s # callback (data1, 1369s # g_marshal_value_peek_uint64 (param_values + 1), 1369s # data2); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_t", 1369s # (gchar *) "t", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalT", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-t" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-t: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_t: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1369s # g_signal_new ("single-arg-signal-t", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_UINT64); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_t: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_t: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalT" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_t ( 1369s # OrgProjectSignalingIface *object, 1369s # guint64 arg_arg_t) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1369s # OrgProjectSignalingIface *object, 1369s # guint64 arg_arg_t) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1369s # arg_arg_t)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmp4li98co_.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmp4li98co_.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_d", 1369s # (gchar *) "d", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalD", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-d" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__DOUBLE (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-d: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_d: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1369s # g_signal_new ("single-arg-signal-d", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_DOUBLE); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_d: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_d: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalD" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_d ( 1369s # OrgProjectSignalingIface *object, 1369s # gdouble arg_arg_d) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1369s # OrgProjectSignalingIface *object, 1369s # gdouble arg_arg_d) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1369s # arg_arg_d)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmp8p_mwmzw.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmp8p_mwmzw.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_s", 1369s # (gchar *) "s", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalS", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-s" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__STRING (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-s: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_s: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1369s # g_signal_new ("single-arg-signal-s", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRING); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_s: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_s: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalS" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_s ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_s) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_s) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1369s # arg_arg_s)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpwph_e8j3.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpwph_e8j3.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_o", 1369s # (gchar *) "o", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalO", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-o" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__STRING (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-o: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_o: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1369s # g_signal_new ("single-arg-signal-o", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRING); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_o: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_o: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalO" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_o ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_o) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_o) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1369s # arg_arg_o)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpecjau6xc.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpecjau6xc.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_g", 1369s # (gchar *) "g", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalG", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-g" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__STRING (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-g: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_g: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1369s # g_signal_new ("single-arg-signal-g", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRING); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_g: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_g: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalG" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_g ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_g) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_g) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1369s # arg_arg_g)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpjkqsbl2v.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpjkqsbl2v.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_h", 1369s # (gchar *) "h", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalH", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-h" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VARIANT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-h: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_h: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1369s # g_signal_new ("single-arg-signal-h", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_VARIANT); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_h: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_h: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalH" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_h ( 1369s # OrgProjectSignalingIface *object, 1369s # GVariant *arg_arg_h) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1369s # OrgProjectSignalingIface *object, 1369s # GVariant *arg_arg_h) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1369s # arg_arg_h)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpsvq5edoi.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpsvq5edoi.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_ay", 1369s # (gchar *) "ay", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAy", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-ay" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__STRING (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-ay: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_ay: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1369s # g_signal_new ("single-arg-signal-ay", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRING); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_ay: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAy" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_ay) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_ay) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1369s # arg_arg_ay)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmppm5xzau3.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmppm5xzau3.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_as", 1369s # (gchar *) "as", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAs", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-as" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__BOXED (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-as: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_as: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1369s # g_signal_new ("single-arg-signal-as", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRV); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_as: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_as: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAs" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_as ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_as) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_as) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1369s # arg_arg_as)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpm23o6t60.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpm23o6t60.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_ao", 1369s # (gchar *) "ao", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAo", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-ao" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__BOXED (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-ao: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_ao: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1369s # g_signal_new ("single-arg-signal-ao", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRV); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_ao: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAo" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_ao) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_ao) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1369s # arg_arg_ao)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmpvqd78tqx.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmpvqd78tqx.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_aay", 1369s # (gchar *) "aay", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAay", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-aay" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__BOXED (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-aay: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_aay: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1369s # g_signal_new ("single-arg-signal-aay", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRV); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_aay: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAay" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_aay) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_aay) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1369s # arg_arg_aay)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # /tmp/tmphmudjtp3/tmp6tuuh9ho.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmudjtp3/tmp6tuuh9ho.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_asv", 1369s # (gchar *) "a{sv}", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAsv", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-asv" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VARIANT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-asv: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_asv: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1369s # g_signal_new ("single-arg-signal-asv", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_VARIANT); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_asv: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1369s # OrgProjectSignalingIface *object, 1369s # GVariant *arg_arg_asv) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1369s # OrgProjectSignalingIface *object, 1369s # GVariant *arg_arg_asv) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1369s # arg_arg_asv)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1369s # tmpdir: /tmp/tmpmd1m_x8w 1369s # codegen: /usr/bin/gdbus-codegen 1369s # /tmp/tmpmd1m_x8w/tmpkqoxdvl9.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmd1m_x8w/tmpkqoxdvl9.xml', '--output', '-', '--body'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static void 1369s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1369s # GClosure *closure, 1369s # GValue *return_value G_GNUC_UNUSED, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint G_GNUC_UNUSED, 1369s # void *marshal_data) 1369s # { 1369s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1369s # (void *data1, 1369s # gboolean arg_an_b, 1369s # guchar arg_an_y, 1369s # gint16 arg_an_n, 1369s # guint16 arg_an_q, 1369s # gint arg_an_i, 1369s # guint arg_an_u, 1369s # gint64 arg_an_x, 1369s # guint64 arg_an_t, 1369s # gdouble arg_an_d, 1369s # const gchar *arg_an_s, 1369s # const gchar *arg_an_o, 1369s # const gchar *arg_an_g, 1369s # GVariant *arg_an_h, 1369s # const gchar *arg_an_ay, 1369s # const gchar *const *arg_an_as, 1369s # const gchar *const *arg_an_ao, 1369s # const gchar *const *arg_an_aay, 1369s # GVariant *arg_an_asv, 1369s # void *data2); 1369s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1369s # GCClosure *cc = (GCClosure*) closure; 1369s # void *data1, *data2; 1369s # 1369s # g_return_if_fail (n_param_values == 19); 1369s # 1369s # if (G_CCLOSURE_SWAP_DATA (closure)) 1369s # { 1369s # data1 = closure->data; 1369s # data2 = g_value_peek_pointer (param_values + 0); 1369s # } 1369s # else 1369s # { 1369s # data1 = g_value_peek_pointer (param_values + 0); 1369s # data2 = closure->data; 1369s # } 1369s # 1369s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1369s # (marshal_data ? marshal_data : cc->callback); 1369s # 1369s # callback (data1, 1369s # g_marshal_value_peek_boolean (param_values + 1), 1369s # g_marshal_value_peek_uchar (param_values + 2), 1369s # g_marshal_value_peek_int (param_values + 3), 1369s # g_marshal_value_peek_uint (param_values + 4), 1369s # g_marshal_value_peek_int (param_values + 5), 1369s # g_marshal_value_peek_uint (param_values + 6), 1369s # g_marshal_value_peek_int64 (param_values + 7), 1369s # g_marshal_value_peek_uint64 (param_values + 8), 1369s # g_marshal_value_peek_double (param_values + 9), 1369s # g_marshal_value_peek_string (param_values + 10), 1369s # g_marshal_value_peek_string (param_values + 11), 1369s # g_marshal_value_peek_string (param_values + 12), 1369s # g_marshal_value_peek_variant (param_values + 13), 1369s # g_marshal_value_peek_string (param_values + 14), 1369s # g_marshal_value_peek_boxed (param_values + 15), 1369s # g_marshal_value_peek_boxed (param_values + 16), 1369s # g_marshal_value_peek_boxed (param_values + 17), 1369s # g_marshal_value_peek_variant (param_values + 18), 1369s # data2); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_b", 1369s # (gchar *) "b", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_y", 1369s # (gchar *) "y", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_n", 1369s # (gchar *) "n", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_q", 1369s # (gchar *) "q", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_i", 1369s # (gchar *) "i", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_u", 1369s # (gchar *) "u", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_x", 1369s # (gchar *) "x", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_t", 1369s # (gchar *) "t", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_d", 1369s # (gchar *) "d", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_s", 1369s # (gchar *) "s", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_o", 1369s # (gchar *) "o", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_g", 1369s # (gchar *) "g", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_h", 1369s # (gchar *) "h", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_ay", 1369s # (gchar *) "ay", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_as", 1369s # (gchar *) "as", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_ao", 1369s # (gchar *) "ao", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_aay", 1369s # (gchar *) "aay", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_asv", 1369s # (gchar *) "a{sv}", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SignalWithManyArgs", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "signal-with-many-args" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::signal-with-many-args: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_an_b: Argument. 1369s # * @arg_an_y: Argument. 1369s # * @arg_an_n: Argument. 1369s # * @arg_an_q: Argument. 1369s # * @arg_an_i: Argument. 1369s # * @arg_an_u: Argument. 1369s # * @arg_an_x: Argument. 1369s # * @arg_an_t: Argument. 1369s # * @arg_an_d: Argument. 1369s # * @arg_an_s: Argument. 1369s # * @arg_an_o: Argument. 1369s # * @arg_an_g: Argument. 1369s # * @arg_an_h: Argument. 1369s # * @arg_an_ay: Argument. 1369s # * @arg_an_as: Argument. 1369s # * @arg_an_ao: Argument. 1369s # * @arg_an_aay: Argument. 1369s # * @arg_an_asv: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1369s # * 1369s # * 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. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1369s # g_signal_new ("signal-with-many-args", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1369s # G_TYPE_NONE, 1369s # 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); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_signal_with_many_args: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_an_b: Argument to pass with the signal. 1369s # * @arg_an_y: Argument to pass with the signal. 1369s # * @arg_an_n: Argument to pass with the signal. 1369s # * @arg_an_q: Argument to pass with the signal. 1369s # * @arg_an_i: Argument to pass with the signal. 1369s # * @arg_an_u: Argument to pass with the signal. 1369s # * @arg_an_x: Argument to pass with the signal. 1369s # * @arg_an_t: Argument to pass with the signal. 1369s # * @arg_an_d: Argument to pass with the signal. 1369s # * @arg_an_s: Argument to pass with the signal. 1369s # * @arg_an_o: Argument to pass with the signal. 1369s # * @arg_an_g: Argument to pass with the signal. 1369s # * @arg_an_h: Argument to pass with the signal. 1369s # * @arg_an_ay: Argument to pass with the signal. 1369s # * @arg_an_as: Argument to pass with the signal. 1369s # * @arg_an_ao: Argument to pass with the signal. 1369s # * @arg_an_aay: Argument to pass with the signal. 1369s # * @arg_an_asv: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SignalWithManyArgs" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_signal_with_many_args ( 1369s # OrgProjectSignalingIface *object, 1369s # gboolean arg_an_b, 1369s # guchar arg_an_y, 1369s # gint16 arg_an_n, 1369s # guint16 arg_an_q, 1369s # gint arg_an_i, 1369s # guint arg_an_u, 1369s # gint64 arg_an_x, 1369s # guint64 arg_an_t, 1369s # gdouble arg_an_d, 1369s # const gchar *arg_an_s, 1369s # const gchar *arg_an_o, 1369s # const gchar *arg_an_g, 1369s # GVariant *arg_an_h, 1369s # const gchar *arg_an_ay, 1369s # const gchar *const *arg_an_as, 1369s # const gchar *const *arg_an_ao, 1369s # const gchar *const *arg_an_aay, 1369s # GVariant *arg_an_asv) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1369s # OrgProjectSignalingIface *object, 1369s # gboolean arg_an_b, 1369s # guchar arg_an_y, 1369s # gint16 arg_an_n, 1369s # guint16 arg_an_q, 1369s # gint arg_an_i, 1369s # guint arg_an_u, 1369s # gint64 arg_an_x, 1369s # guint64 arg_an_t, 1369s # gdouble arg_an_d, 1369s # const gchar *arg_an_s, 1369s # const gchar *arg_an_o, 1369s # const gchar *arg_an_g, 1369s # GVariant *arg_an_h, 1369s # const gchar *arg_an_ay, 1369s # const gchar *const *arg_an_as, 1369s # const gchar *const *arg_an_ao, 1369s # const gchar *const *arg_an_aay, 1369s # GVariant *arg_an_asv) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1369s # arg_an_b, 1369s # arg_an_y, 1369s # arg_an_n, 1369s # arg_an_q, 1369s # arg_an_i, 1369s # arg_an_u, 1369s # arg_an_x, 1369s # arg_an_t, 1369s # arg_an_d, 1369s # arg_an_s, 1369s # arg_an_o, 1369s # arg_an_g, 1369s # arg_an_h, 1369s # arg_an_ay, 1369s # arg_an_as, 1369s # arg_an_ao, 1369s # arg_an_aay, 1369s # arg_an_asv)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1369s # tmpdir: /tmp/tmpuds0jtqw 1369s # codegen: /usr/bin/gdbus-codegen 1369s # /tmp/tmpuds0jtqw/tmpybqgmq82.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuds0jtqw/tmpybqgmq82.xml', '--generate-docbook', 'test'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: 1369s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1369s # tmpdir: /tmp/tmpjak_5r_w 1369s # codegen: /usr/bin/gdbus-codegen 1369s # /tmp/tmpjak_5r_w/tmprw666exm.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjak_5r_w/tmprw666exm.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1369s # tmpdir: /tmp/tmp6kt_t_mw 1369s # codegen: /usr/bin/gdbus-codegen 1369s # /tmp/tmp6kt_t_mw/tmpfe4ukinv.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6kt_t_mw/tmpfe4ukinv.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1369s # tmpdir: /tmp/tmpgj_x7eof 1369s # codegen: /usr/bin/gdbus-codegen 1369s # /tmp/tmpgj_x7eof/tmphigxe3le.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgj_x7eof/tmphigxe3le.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1369s # tmpdir: /tmp/tmpc_44xhdc 1369s # codegen: /usr/bin/gdbus-codegen 1369s # /tmp/tmpc_44xhdc/tmpk0vulcgo.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc_44xhdc/tmpk0vulcgo.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1369s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1369s # Output: /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1370s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1370s # tmpdir: /tmp/tmpuqw55fg7 1370s # codegen: /usr/bin/gdbus-codegen 1370s # /tmp/tmpuqw55fg7/tmp699z5sxn.xml: 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuqw55fg7/tmp699z5sxn.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifndef __STDOUT__ 1370s # #define __STDOUT__ 1370s # 1370s # #include 1370s # 1370s # G_BEGIN_DECLS 1370s # 1370s # 1370s # G_END_DECLS 1370s # 1370s # #endif /* __STDOUT__ */ 1370s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1370s # tmpdir: /tmp/tmpe2bb30sa 1370s # codegen: /usr/bin/gdbus-codegen 1370s # /tmp/tmpe2bb30sa/tmps4k1ocn1.xml: 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe2bb30sa/tmps4k1ocn1.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1370s # tmpdir: /tmp/tmp41kw6je8 1370s # codegen: /usr/bin/gdbus-codegen 1370s # /tmp/tmp41kw6je8/tmpqvobxtlb.xml: 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp41kw6je8/tmpqvobxtlb.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifndef __STDOUT__ 1370s # #define __STDOUT__ 1370s # 1370s # #include 1370s # 1370s # G_BEGIN_DECLS 1370s # 1370s # 1370s # G_END_DECLS 1370s # 1370s # #endif /* __STDOUT__ */ 1370s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1370s # tmpdir: /tmp/tmp0k0vyir3 1370s # codegen: /usr/bin/gdbus-codegen 1370s # /tmp/tmp0k0vyir3/tmp1hb9cphx.xml: 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0k0vyir3/tmp1hb9cphx.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1370s # tmpdir: /tmp/tmpx3gry1t8 1370s # codegen: /usr/bin/gdbus-codegen 1370s # /tmp/tmpx3gry1t8/tmp7f00_5w5.xml: 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx3gry1t8/tmp7f00_5w5.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifndef __STDOUT__ 1370s # #define __STDOUT__ 1370s # 1370s # #include 1370s # 1370s # G_BEGIN_DECLS 1370s # 1370s # 1370s # G_END_DECLS 1370s # 1370s # #endif /* __STDOUT__ */ 1370s ok 35 __main__.TestCodegen.test_help 1370s # tmpdir: /tmp/tmpnwmlf8bq 1370s # codegen: /usr/bin/gdbus-codegen 1370s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1370s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1370s # [--c-generate-autocleanup {none,objects,all}] 1370s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1370s # [--generate-rst OUTFILES] [--pragma-once] 1370s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1370s # [--glib-min-required VERSION] 1370s # [--glib-max-allowed VERSION] 1370s # [--symbol-decorator SYMBOL_DECORATOR] 1370s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1370s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1370s # [--generate-c-code OUTFILES | --header | --body | 1370s # --interface-info-header | --interface-info-body] 1370s # [--output FILE | --output-directory OUTDIR] 1370s # FILE [FILE ...] 1370s # 1370s # D-Bus code and documentation generator 1370s # 1370s # positional arguments: 1370s # FILE D-Bus introspection XML file 1370s # 1370s # options: 1370s # -h, --help show this help message and exit 1370s # --interface-prefix PREFIX 1370s # String to strip from D-Bus interface names for code 1370s # and docs 1370s # --c-namespace NAMESPACE 1370s # The namespace to use for generated C code 1370s # --c-generate-object-manager 1370s # Generate a GDBusObjectManagerClient subclass when 1370s # generating C code 1370s # --c-generate-autocleanup {none,objects,all} 1370s # Generate autocleanup support 1370s # --generate-docbook OUTFILES 1370s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1370s # --generate-md OUTFILES 1370s # Generate Markdown in OUTFILES-org.Project.IFace.md 1370s # --generate-rst OUTFILES 1370s # Generate reStructuredText in OUTFILES- 1370s # org.Project.IFace.rst 1370s # --pragma-once Use "pragma once" as the inclusion guard 1370s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1370s # Add annotation (may be used several times) 1370s # --glib-min-required VERSION 1370s # Minimum version of GLib to be supported by the 1370s # outputted code (default: 2.30) 1370s # --glib-max-allowed VERSION 1370s # Maximum version of GLib to be used by the outputted 1370s # code (default: current GLib version) 1370s # --symbol-decorator SYMBOL_DECORATOR 1370s # Macro used to decorate a symbol in the outputted 1370s # header, possibly to export symbols 1370s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1370s # Additional header required for decorator specified by 1370s # --symbol-decorator 1370s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1370s # Additional define required for decorator specified by 1370s # --symbol-decorator 1370s # --generate-c-code OUTFILES 1370s # Generate C code in OUTFILES.[ch] 1370s # --header Generate C headers 1370s # --body Generate C code 1370s # --interface-info-header 1370s # Generate GDBusInterfaceInfo C header 1370s # --interface-info-body 1370s # Generate GDBusInterfaceInfo C code 1370s # --output FILE Write output into the specified file 1370s # --output-directory OUTDIR 1370s # Location to output generated files 1370s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1370s # tmpdir: /tmp/tmpmbtppkxf 1370s # codegen: /usr/bin/gdbus-codegen 1370s # /tmp/tmpmbtppkxf/tmphnv6iebe.xml: 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmbtppkxf/tmphnv6iebe.xml', '--generate-rst', 'test'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: 1370s # /tmp/tmpmbtppkxf/tmp975o694w.xml: 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmbtppkxf/tmp975o694w.xml', '--generate-md', 'test'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: 1370s # /tmp/tmpmbtppkxf/tmpa0wjh4an.xml: 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmbtppkxf/tmpa0wjh4an.xml', '--generate-docbook', 'test'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: 1370s ok 37 __main__.TestCodegen.test_no_args 1370s # tmpdir: /tmp/tmp1371c8tk 1370s # codegen: /usr/bin/gdbus-codegen 1370s # Running: ['/usr/bin/gdbus-codegen'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s ok 38 __main__.TestCodegen.test_reproducible 1370s # tmpdir: /tmp/tmpxx5wckfe 1370s # codegen: /usr/bin/gdbus-codegen 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxx5wckfe/tmp6e0ke4c11.xml', '/tmp/tmpxx5wckfe/tmpcdfm67ya2.xml', '--output', '-', '--header'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifndef __STDOUT__ 1370s # #define __STDOUT__ 1370s # 1370s # #include 1370s # 1370s # G_BEGIN_DECLS 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # /* Declarations for com.acme.Coyote */ 1370s # 1370s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1370s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1370s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1370s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1370s # 1370s # struct _ComAcmeCoyote; 1370s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1370s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1370s # 1370s # struct _ComAcmeCoyoteIface 1370s # { 1370s # GTypeInterface parent_iface; 1370s # 1370s # 1370s # 1370s # gboolean (*handle_attack) ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # gboolean (*handle_run) ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # gboolean (*handle_sleep) ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1370s # 1370s # void (*surprised) ( 1370s # ComAcmeCoyote *object); 1370s # 1370s # }; 1370s # 1370s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1370s # 1370s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1370s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1370s # 1370s # 1370s # /* D-Bus method call completion functions: */ 1370s # void com_acme_coyote_complete_run ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # void com_acme_coyote_complete_sleep ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # void com_acme_coyote_complete_attack ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # 1370s # 1370s # /* D-Bus signal emissions functions: */ 1370s # void com_acme_coyote_emit_surprised ( 1370s # ComAcmeCoyote *object); 1370s # 1370s # 1370s # 1370s # /* D-Bus method calls: */ 1370s # void com_acme_coyote_call_run ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean com_acme_coyote_call_run_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean com_acme_coyote_call_run_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void com_acme_coyote_call_sleep ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean com_acme_coyote_call_sleep_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean com_acme_coyote_call_sleep_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void com_acme_coyote_call_attack ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean com_acme_coyote_call_attack_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean com_acme_coyote_call_attack_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # 1370s # /* D-Bus property accessors: */ 1370s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1370s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1370s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1370s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1370s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1370s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1370s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1370s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1370s # 1370s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1370s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1370s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1370s # 1370s # struct _ComAcmeCoyoteProxy 1370s # { 1370s # /*< private >*/ 1370s # GDBusProxy parent_instance; 1370s # ComAcmeCoyoteProxyPrivate *priv; 1370s # }; 1370s # 1370s # struct _ComAcmeCoyoteProxyClass 1370s # { 1370s # GDBusProxyClass parent_class; 1370s # }; 1370s # 1370s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1370s # #endif 1370s # 1370s # void com_acme_coyote_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void com_acme_coyote_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1370s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1370s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1370s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1370s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1370s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1370s # 1370s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1370s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1370s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1370s # 1370s # struct _ComAcmeCoyoteSkeleton 1370s # { 1370s # /*< private >*/ 1370s # GDBusInterfaceSkeleton parent_instance; 1370s # ComAcmeCoyoteSkeletonPrivate *priv; 1370s # }; 1370s # 1370s # struct _ComAcmeCoyoteSkeletonClass 1370s # { 1370s # GDBusInterfaceSkeletonClass parent_class; 1370s # }; 1370s # 1370s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1370s # #endif 1370s # 1370s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # /* Declarations for org.project.Bar.Frobnicator */ 1370s # 1370s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1370s # 1370s # struct _OrgProjectBarFrobnicator; 1370s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1370s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1370s # 1370s # struct _OrgProjectBarFrobnicatorIface 1370s # { 1370s # GTypeInterface parent_iface; 1370s # 1370s # gboolean (*handle_random_method) ( 1370s # OrgProjectBarFrobnicator *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # }; 1370s # 1370s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1370s # 1370s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1370s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1370s # 1370s # 1370s # /* D-Bus method call completion functions: */ 1370s # void org_project_bar_frobnicator_complete_random_method ( 1370s # OrgProjectBarFrobnicator *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # 1370s # 1370s # /* D-Bus method calls: */ 1370s # void org_project_bar_frobnicator_call_random_method ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1370s # 1370s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1370s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1370s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1370s # 1370s # struct _OrgProjectBarFrobnicatorProxy 1370s # { 1370s # /*< private >*/ 1370s # GDBusProxy parent_instance; 1370s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1370s # }; 1370s # 1370s # struct _OrgProjectBarFrobnicatorProxyClass 1370s # { 1370s # GDBusProxyClass parent_class; 1370s # }; 1370s # 1370s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1370s # #endif 1370s # 1370s # void org_project_bar_frobnicator_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1370s # 1370s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1370s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1370s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1370s # 1370s # struct _OrgProjectBarFrobnicatorSkeleton 1370s # { 1370s # /*< private >*/ 1370s # GDBusInterfaceSkeleton parent_instance; 1370s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1370s # }; 1370s # 1370s # struct _OrgProjectBarFrobnicatorSkeletonClass 1370s # { 1370s # GDBusInterfaceSkeletonClass parent_class; 1370s # }; 1370s # 1370s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1370s # #endif 1370s # 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1370s # 1370s # 1370s # G_END_DECLS 1370s # 1370s # #endif /* __STDOUT__ */ 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxx5wckfe/tmpcdfm67ya2.xml', '/tmp/tmpxx5wckfe/tmp6e0ke4c11.xml', '--output', '-', '--header'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifndef __STDOUT__ 1370s # #define __STDOUT__ 1370s # 1370s # #include 1370s # 1370s # G_BEGIN_DECLS 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # /* Declarations for com.acme.Coyote */ 1370s # 1370s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1370s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1370s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1370s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1370s # 1370s # struct _ComAcmeCoyote; 1370s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1370s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1370s # 1370s # struct _ComAcmeCoyoteIface 1370s # { 1370s # GTypeInterface parent_iface; 1370s # 1370s # 1370s # 1370s # gboolean (*handle_attack) ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # gboolean (*handle_run) ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # gboolean (*handle_sleep) ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1370s # 1370s # void (*surprised) ( 1370s # ComAcmeCoyote *object); 1370s # 1370s # }; 1370s # 1370s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1370s # 1370s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1370s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1370s # 1370s # 1370s # /* D-Bus method call completion functions: */ 1370s # void com_acme_coyote_complete_run ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # void com_acme_coyote_complete_sleep ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # void com_acme_coyote_complete_attack ( 1370s # ComAcmeCoyote *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # 1370s # 1370s # /* D-Bus signal emissions functions: */ 1370s # void com_acme_coyote_emit_surprised ( 1370s # ComAcmeCoyote *object); 1370s # 1370s # 1370s # 1370s # /* D-Bus method calls: */ 1370s # void com_acme_coyote_call_run ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean com_acme_coyote_call_run_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean com_acme_coyote_call_run_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void com_acme_coyote_call_sleep ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean com_acme_coyote_call_sleep_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean com_acme_coyote_call_sleep_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void com_acme_coyote_call_attack ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean com_acme_coyote_call_attack_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean com_acme_coyote_call_attack_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # 1370s # /* D-Bus property accessors: */ 1370s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1370s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1370s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1370s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1370s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1370s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1370s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1370s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1370s # 1370s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1370s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1370s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1370s # 1370s # struct _ComAcmeCoyoteProxy 1370s # { 1370s # /*< private >*/ 1370s # GDBusProxy parent_instance; 1370s # ComAcmeCoyoteProxyPrivate *priv; 1370s # }; 1370s # 1370s # struct _ComAcmeCoyoteProxyClass 1370s # { 1370s # GDBusProxyClass parent_class; 1370s # }; 1370s # 1370s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1370s # #endif 1370s # 1370s # void com_acme_coyote_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void com_acme_coyote_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1370s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1370s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1370s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1370s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1370s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1370s # 1370s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1370s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1370s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1370s # 1370s # struct _ComAcmeCoyoteSkeleton 1370s # { 1370s # /*< private >*/ 1370s # GDBusInterfaceSkeleton parent_instance; 1370s # ComAcmeCoyoteSkeletonPrivate *priv; 1370s # }; 1370s # 1370s # struct _ComAcmeCoyoteSkeletonClass 1370s # { 1370s # GDBusInterfaceSkeletonClass parent_class; 1370s # }; 1370s # 1370s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1370s # #endif 1370s # 1370s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # /* Declarations for org.project.Bar.Frobnicator */ 1370s # 1370s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1370s # 1370s # struct _OrgProjectBarFrobnicator; 1370s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1370s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1370s # 1370s # struct _OrgProjectBarFrobnicatorIface 1370s # { 1370s # GTypeInterface parent_iface; 1370s # 1370s # gboolean (*handle_random_method) ( 1370s # OrgProjectBarFrobnicator *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # }; 1370s # 1370s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1370s # 1370s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1370s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1370s # 1370s # 1370s # /* D-Bus method call completion functions: */ 1370s # void org_project_bar_frobnicator_complete_random_method ( 1370s # OrgProjectBarFrobnicator *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # 1370s # 1370s # /* D-Bus method calls: */ 1370s # void org_project_bar_frobnicator_call_random_method ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1370s # 1370s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1370s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1370s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1370s # 1370s # struct _OrgProjectBarFrobnicatorProxy 1370s # { 1370s # /*< private >*/ 1370s # GDBusProxy parent_instance; 1370s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1370s # }; 1370s # 1370s # struct _OrgProjectBarFrobnicatorProxyClass 1370s # { 1370s # GDBusProxyClass parent_class; 1370s # }; 1370s # 1370s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1370s # #endif 1370s # 1370s # void org_project_bar_frobnicator_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1370s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1370s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1370s # 1370s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1370s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1370s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1370s # 1370s # struct _OrgProjectBarFrobnicatorSkeleton 1370s # { 1370s # /*< private >*/ 1370s # GDBusInterfaceSkeleton parent_instance; 1370s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1370s # }; 1370s # 1370s # struct _OrgProjectBarFrobnicatorSkeletonClass 1370s # { 1370s # GDBusInterfaceSkeletonClass parent_class; 1370s # }; 1370s # 1370s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1370s # #endif 1370s # 1370s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1370s # 1370s # 1370s # G_END_DECLS 1370s # 1370s # #endif /* __STDOUT__ */ 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxx5wckfe/tmp6e0ke4c11.xml', '/tmp/tmpxx5wckfe/tmpcdfm67ya2.xml', '--output', '-', '--body'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifdef HAVE_CONFIG_H 1370s # # include "config.h" 1370s # #endif 1370s # 1370s # #include 1370s # #ifdef G_OS_UNIX 1370s # # include 1370s # #endif 1370s # 1370s # #ifdef G_ENABLE_DEBUG 1370s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1370s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1370s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1370s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1370s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1370s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1370s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1370s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1370s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1370s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1370s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1370s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1370s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1370s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1370s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1370s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1370s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1370s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1370s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1370s # #else /* !G_ENABLE_DEBUG */ 1370s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1370s # * Do not access GValues directly in your code. Instead, use the 1370s # * g_value_get_*() functions 1370s # */ 1370s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1370s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1370s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1370s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1370s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1370s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1370s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1370s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1370s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1370s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1370s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1370s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1370s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1370s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1370s # #endif /* !G_ENABLE_DEBUG */ 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusArgInfo parent_struct; 1370s # gboolean use_gvariant; 1370s # } _ExtendedGDBusArgInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusMethodInfo parent_struct; 1370s # const gchar *signal_name; 1370s # gboolean pass_fdlist; 1370s # } _ExtendedGDBusMethodInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusSignalInfo parent_struct; 1370s # const gchar *signal_name; 1370s # } _ExtendedGDBusSignalInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusPropertyInfo parent_struct; 1370s # const gchar *hyphen_name; 1370s # guint use_gvariant : 1; 1370s # guint emits_changed_signal : 1; 1370s # } _ExtendedGDBusPropertyInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusInterfaceInfo parent_struct; 1370s # const gchar *hyphen_name; 1370s # } _ExtendedGDBusInterfaceInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info; 1370s # guint prop_id; 1370s # GValue orig_value; /* the value before the change */ 1370s # } ChangedProperty; 1370s # 1370s # static void 1370s # _changed_property_free (ChangedProperty *data) 1370s # { 1370s # g_value_unset (&data->orig_value); 1370s # g_free (data); 1370s # } 1370s # 1370s # static gboolean 1370s # _g_strv_equal0 (gchar **a, gchar **b) 1370s # { 1370s # gboolean ret = FALSE; 1370s # guint n; 1370s # if (a == NULL && b == NULL) 1370s # { 1370s # ret = TRUE; 1370s # goto out; 1370s # } 1370s # if (a == NULL || b == NULL) 1370s # goto out; 1370s # if (g_strv_length (a) != g_strv_length (b)) 1370s # goto out; 1370s # for (n = 0; a[n] != NULL; n++) 1370s # if (g_strcmp0 (a[n], b[n]) != 0) 1370s # goto out; 1370s # ret = TRUE; 1370s # out: 1370s # return ret; 1370s # } 1370s # 1370s # static gboolean 1370s # _g_variant_equal0 (GVariant *a, GVariant *b) 1370s # { 1370s # gboolean ret = FALSE; 1370s # if (a == NULL && b == NULL) 1370s # { 1370s # ret = TRUE; 1370s # goto out; 1370s # } 1370s # if (a == NULL || b == NULL) 1370s # goto out; 1370s # ret = g_variant_equal (a, b); 1370s # out: 1370s # return ret; 1370s # } 1370s # 1370s # G_GNUC_UNUSED static gboolean 1370s # _g_value_equal (const GValue *a, const GValue *b) 1370s # { 1370s # gboolean ret = FALSE; 1370s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1370s # switch (G_VALUE_TYPE (a)) 1370s # { 1370s # case G_TYPE_BOOLEAN: 1370s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1370s # break; 1370s # case G_TYPE_UCHAR: 1370s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1370s # break; 1370s # case G_TYPE_INT: 1370s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1370s # break; 1370s # case G_TYPE_UINT: 1370s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1370s # break; 1370s # case G_TYPE_INT64: 1370s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1370s # break; 1370s # case G_TYPE_UINT64: 1370s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1370s # break; 1370s # case G_TYPE_DOUBLE: 1370s # { 1370s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1370s # gdouble da = g_value_get_double (a); 1370s # gdouble db = g_value_get_double (b); 1370s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1370s # } 1370s # break; 1370s # case G_TYPE_STRING: 1370s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1370s # break; 1370s # case G_TYPE_VARIANT: 1370s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1370s # break; 1370s # default: 1370s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1370s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1370s # else 1370s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1370s # break; 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static void 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint G_GNUC_UNUSED, 1370s # void *marshal_data) 1370s # { 1370s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1370s # (void *data1, 1370s # GDBusMethodInvocation *arg_method_invocation, 1370s # void *data2); 1370s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1370s # GCClosure *cc = (GCClosure*) closure; 1370s # void *data1, *data2; 1370s # gboolean v_return; 1370s # 1370s # g_return_if_fail (return_value != NULL); 1370s # g_return_if_fail (n_param_values == 2); 1370s # 1370s # if (G_CCLOSURE_SWAP_DATA (closure)) 1370s # { 1370s # data1 = closure->data; 1370s # data2 = g_value_peek_pointer (param_values + 0); 1370s # } 1370s # else 1370s # { 1370s # data1 = g_value_peek_pointer (param_values + 0); 1370s # data2 = closure->data; 1370s # } 1370s # 1370s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1370s # (marshal_data ? marshal_data : cc->callback); 1370s # 1370s # v_return = 1370s # callback (data1, 1370s # g_marshal_value_peek_object (param_values + 1), 1370s # data2); 1370s # 1370s # g_value_set_boolean (return_value, v_return); 1370s # } 1370s # 1370s # /* ------------------------------------------------------------------------ 1370s # * Code for interface com.acme.Coyote 1370s # * ------------------------------------------------------------------------ 1370s # */ 1370s # 1370s # /** 1370s # * SECTION:ComAcmeCoyote 1370s # * @title: ComAcmeCoyote 1370s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1370s # * 1370s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1370s # */ 1370s # 1370s # enum 1370s # { 1370s # _COM_ACME_COYOTE_SURPRISED, 1370s # }; 1370s # 1370s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1370s # 1370s # /* ---- Introspection data for com.acme.Coyote ---- */ 1370s # 1370s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Run", 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "handle-run", 1370s # FALSE 1370s # }; 1370s # 1370s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Sleep", 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "handle-sleep", 1370s # FALSE 1370s # }; 1370s # 1370s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Attack", 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "handle-attack", 1370s # FALSE 1370s # }; 1370s # 1370s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1370s # { 1370s # &_com_acme_coyote_method_info_run.parent_struct, 1370s # &_com_acme_coyote_method_info_sleep.parent_struct, 1370s # &_com_acme_coyote_method_info_attack.parent_struct, 1370s # NULL 1370s # }; 1370s # 1370s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Surprised", 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "surprised" 1370s # }; 1370s # 1370s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1370s # { 1370s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1370s # NULL 1370s # }; 1370s # 1370s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Mood", 1370s # (gchar *) "s", 1370s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1370s # NULL 1370s # }, 1370s # "mood", 1370s # FALSE, 1370s # TRUE 1370s # }; 1370s # 1370s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1370s # { 1370s # &_com_acme_coyote_property_info_mood.parent_struct, 1370s # NULL 1370s # }; 1370s # 1370s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "com.acme.Coyote", 1370s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1370s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1370s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1370s # NULL 1370s # }, 1370s # "com-acme-coyote", 1370s # }; 1370s # 1370s # 1370s # /** 1370s # * com_acme_coyote_interface_info: 1370s # * 1370s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1370s # * 1370s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1370s # */ 1370s # GDBusInterfaceInfo * 1370s # com_acme_coyote_interface_info (void) 1370s # { 1370s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_override_properties: 1370s # * @klass: The class structure for a #GObject derived class. 1370s # * @property_id_begin: The property id to assign to the first overridden property. 1370s # * 1370s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1370s # * The properties are overridden in the order they are defined. 1370s # * 1370s # * Returns: The last property id. 1370s # */ 1370s # guint 1370s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1370s # { 1370s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1370s # return property_id_begin - 1; 1370s # } 1370s # 1370s # 1370s # inline static void 1370s # com_acme_coyote_signal_marshal_surprised ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # g_cclosure_marshal_VOID__VOID (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # inline static void 1370s # com_acme_coyote_method_marshal_run ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # inline static void 1370s # com_acme_coyote_method_marshal_sleep ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # inline static void 1370s # com_acme_coyote_method_marshal_attack ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # 1370s # /** 1370s # * ComAcmeCoyote: 1370s # * 1370s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1370s # */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteIface: 1370s # * @parent_iface: The parent interface. 1370s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1370s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1370s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1370s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1370s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1370s # * 1370s # * Virtual table for the D-Bus interface com.acme.Coyote. 1370s # */ 1370s # 1370s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1370s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1370s # 1370s # static void 1370s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1370s # { 1370s # /* GObject signals for incoming D-Bus method calls: */ 1370s # /** 1370s # * ComAcmeCoyote::handle-run: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: A #GDBusMethodInvocation. 1370s # * 1370s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # g_signal_new ("handle-run", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1370s # g_signal_accumulator_true_handled, 1370s # NULL, 1370s # com_acme_coyote_method_marshal_run, 1370s # G_TYPE_BOOLEAN, 1370s # 1, 1370s # G_TYPE_DBUS_METHOD_INVOCATION); 1370s # 1370s # /** 1370s # * ComAcmeCoyote::handle-sleep: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: A #GDBusMethodInvocation. 1370s # * 1370s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # g_signal_new ("handle-sleep", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1370s # g_signal_accumulator_true_handled, 1370s # NULL, 1370s # com_acme_coyote_method_marshal_sleep, 1370s # G_TYPE_BOOLEAN, 1370s # 1, 1370s # G_TYPE_DBUS_METHOD_INVOCATION); 1370s # 1370s # /** 1370s # * ComAcmeCoyote::handle-attack: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: A #GDBusMethodInvocation. 1370s # * 1370s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # g_signal_new ("handle-attack", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1370s # g_signal_accumulator_true_handled, 1370s # NULL, 1370s # com_acme_coyote_method_marshal_attack, 1370s # G_TYPE_BOOLEAN, 1370s # 1, 1370s # G_TYPE_DBUS_METHOD_INVOCATION); 1370s # 1370s # /* GObject signals for received D-Bus signals: */ 1370s # /** 1370s # * ComAcmeCoyote::surprised: 1370s # * @object: A #ComAcmeCoyote. 1370s # * 1370s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1370s # * 1370s # * 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. 1370s # */ 1370s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1370s # g_signal_new ("surprised", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1370s # NULL, 1370s # NULL, 1370s # com_acme_coyote_signal_marshal_surprised, 1370s # G_TYPE_NONE, 1370s # 0); 1370s # 1370s # /* GObject properties for D-Bus properties: */ 1370s # /** 1370s # * ComAcmeCoyote:mood: 1370s # * 1370s # * Represents the D-Bus property "Mood". 1370s # * 1370s # * 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. 1370s # */ 1370s # g_object_interface_install_property (iface, 1370s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_get_mood: (skip) 1370s # * @object: A #ComAcmeCoyote. 1370s # * 1370s # * Gets the value of the "Mood" D-Bus property. 1370s # * 1370s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # const gchar * 1370s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1370s # { 1370s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1370s # 1370s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_dup_mood: (skip) 1370s # * @object: A #ComAcmeCoyote. 1370s # * 1370s # * Gets a copy of the "Mood" D-Bus property. 1370s # * 1370s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1370s # * 1370s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1370s # */ 1370s # gchar * 1370s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1370s # { 1370s # gchar *value; 1370s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1370s # return value; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_set_mood: (skip) 1370s # * @object: A #ComAcmeCoyote. 1370s # * @value: The value to set. 1370s # * 1370s # * Sets the "Mood" D-Bus property to @value. 1370s # * 1370s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1370s # */ 1370s # void 1370s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1370s # { 1370s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_emit_surprised: 1370s # * @object: A #ComAcmeCoyote. 1370s # * 1370s # * Emits the "Surprised" D-Bus signal. 1370s # */ 1370s # void 1370s # com_acme_coyote_emit_surprised ( 1370s # ComAcmeCoyote *object) 1370s # { 1370s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_run: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1370s # */ 1370s # void 1370s # com_acme_coyote_call_run ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1370s # "Run", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # callback, 1370s # user_data); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_run_finish: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_call_run(). 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_run_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_run_sync: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_run_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1370s # "Run", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_sleep: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1370s # */ 1370s # void 1370s # com_acme_coyote_call_sleep ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1370s # "Sleep", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # callback, 1370s # user_data); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_sleep_finish: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_sleep_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_sleep_sync: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_sleep_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1370s # "Sleep", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_attack: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1370s # */ 1370s # void 1370s # com_acme_coyote_call_attack ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1370s # "Attack", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # callback, 1370s # user_data); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_attack_finish: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_call_attack(). 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_attack_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_attack_sync: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_attack_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1370s # "Attack", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_complete_run: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1370s # * 1370s # * 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. 1370s # * 1370s # * This method will free @invocation, you cannot use it afterwards. 1370s # */ 1370s # void 1370s # com_acme_coyote_complete_run ( 1370s # ComAcmeCoyote *object G_GNUC_UNUSED, 1370s # GDBusMethodInvocation *invocation) 1370s # { 1370s # g_dbus_method_invocation_return_value (invocation, 1370s # g_variant_new ("()")); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_complete_sleep: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1370s # * 1370s # * 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. 1370s # * 1370s # * This method will free @invocation, you cannot use it afterwards. 1370s # */ 1370s # void 1370s # com_acme_coyote_complete_sleep ( 1370s # ComAcmeCoyote *object G_GNUC_UNUSED, 1370s # GDBusMethodInvocation *invocation) 1370s # { 1370s # g_dbus_method_invocation_return_value (invocation, 1370s # g_variant_new ("()")); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_complete_attack: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1370s # * 1370s # * 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. 1370s # * 1370s # * This method will free @invocation, you cannot use it afterwards. 1370s # */ 1370s # void 1370s # com_acme_coyote_complete_attack ( 1370s # ComAcmeCoyote *object G_GNUC_UNUSED, 1370s # GDBusMethodInvocation *invocation) 1370s # { 1370s # g_dbus_method_invocation_return_value (invocation, 1370s # g_variant_new ("()")); 1370s # } 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteProxy: 1370s # * 1370s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1370s # */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteProxyClass: 1370s # * @parent_class: The parent class. 1370s # * 1370s # * Class structure for #ComAcmeCoyoteProxy. 1370s # */ 1370s # 1370s # struct _ComAcmeCoyoteProxyPrivate 1370s # { 1370s # GData *qdata; 1370s # }; 1370s # 1370s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1370s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1370s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1370s # 1370s # #else 1370s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1370s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1370s # 1370s # #endif 1370s # static void 1370s # com_acme_coyote_proxy_finalize (GObject *object) 1370s # { 1370s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1370s # g_datalist_clear (&proxy->priv->qdata); 1370s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_get_property (GObject *object, 1370s # guint prop_id, 1370s # GValue *value, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info; 1370s # GVariant *variant; 1370s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1370s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1370s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1370s # if (info->use_gvariant) 1370s # { 1370s # g_value_set_variant (value, variant); 1370s # } 1370s # else 1370s # { 1370s # if (variant != NULL) 1370s # g_dbus_gvariant_to_gvalue (variant, value); 1370s # } 1370s # if (variant != NULL) 1370s # g_variant_unref (variant); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1370s # GAsyncResult *res, 1370s # gpointer user_data) 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info = user_data; 1370s # GError *error; 1370s # GVariant *_ret; 1370s # error = NULL; 1370s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1370s # if (!_ret) 1370s # { 1370s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1370s # info->parent_struct.name, 1370s # error->message, g_quark_to_string (error->domain), error->code); 1370s # g_error_free (error); 1370s # } 1370s # else 1370s # { 1370s # g_variant_unref (_ret); 1370s # } 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_set_property (GObject *object, 1370s # guint prop_id, 1370s # const GValue *value, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info; 1370s # GVariant *variant; 1370s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1370s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1370s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1370s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1370s # "org.freedesktop.DBus.Properties.Set", 1370s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1370s # g_variant_unref (variant); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1370s # const gchar *sender_name G_GNUC_UNUSED, 1370s # const gchar *signal_name, 1370s # GVariant *parameters) 1370s # { 1370s # _ExtendedGDBusSignalInfo *info; 1370s # GVariantIter iter; 1370s # GVariant *child; 1370s # GValue *paramv; 1370s # gsize num_params; 1370s # gsize n; 1370s # guint signal_id; 1370s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1370s # if (info == NULL) 1370s # return; 1370s # num_params = g_variant_n_children (parameters); 1370s # paramv = g_new0 (GValue, num_params + 1); 1370s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1370s # g_value_set_object (¶mv[0], proxy); 1370s # g_variant_iter_init (&iter, parameters); 1370s # n = 1; 1370s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1370s # { 1370s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1370s # if (arg_info->use_gvariant) 1370s # { 1370s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1370s # g_value_set_variant (¶mv[n], child); 1370s # n++; 1370s # } 1370s # else 1370s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1370s # g_variant_unref (child); 1370s # } 1370s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1370s # g_signal_emitv (paramv, signal_id, 0, NULL); 1370s # for (n = 0; n < num_params + 1; n++) 1370s # g_value_unset (¶mv[n]); 1370s # g_free (paramv); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1370s # GVariant *changed_properties, 1370s # const gchar *const *invalidated_properties) 1370s # { 1370s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1370s # guint n; 1370s # const gchar *key; 1370s # GVariantIter *iter; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # g_variant_get (changed_properties, "a{sv}", &iter); 1370s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1370s # { 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1370s # g_datalist_remove_data (&proxy->priv->qdata, key); 1370s # if (info != NULL) 1370s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1370s # } 1370s # g_variant_iter_free (iter); 1370s # for (n = 0; invalidated_properties[n] != NULL; n++) 1370s # { 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1370s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1370s # if (info != NULL) 1370s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1370s # } 1370s # } 1370s # 1370s # static const gchar * 1370s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1370s # { 1370s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1370s # GVariant *variant; 1370s # const gchar *value = NULL; 1370s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1370s # if (variant != NULL) 1370s # { 1370s # value = g_variant_get_string (variant, NULL); 1370s # g_variant_unref (variant); 1370s # } 1370s # return value; 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1370s # { 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1370s # #else 1370s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1370s # #endif 1370s # 1370s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1370s # { 1370s # GObjectClass *gobject_class; 1370s # GDBusProxyClass *proxy_class; 1370s # 1370s # gobject_class = G_OBJECT_CLASS (klass); 1370s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1370s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1370s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1370s # 1370s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1370s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1370s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1370s # 1370s # com_acme_coyote_override_properties (gobject_class, 1); 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1370s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1370s # #endif 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1370s # { 1370s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new: 1370s # * @connection: A #GDBusConnection. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1370s # * 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1370s # */ 1370s # void 1370s # com_acme_coyote_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # 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); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_finish: 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GObject *ret; 1370s # GObject *source_object; 1370s # source_object = g_async_result_get_source_object (res); 1370s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1370s # g_object_unref (source_object); 1370s # if (ret != NULL) 1370s # return COM_ACME_COYOTE (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_sync: 1370s # * @connection: A #GDBusConnection. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1370s # * 1370s # * The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GInitable *ret; 1370s # 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); 1370s # if (ret != NULL) 1370s # return COM_ACME_COYOTE (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_for_bus: 1370s # * @bus_type: A #GBusType. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: A bus name (well-known or unique). 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1370s # * 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1370s # */ 1370s # void 1370s # com_acme_coyote_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # 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); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_for_bus_finish: 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GObject *ret; 1370s # GObject *source_object; 1370s # source_object = g_async_result_get_source_object (res); 1370s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1370s # g_object_unref (source_object); 1370s # if (ret != NULL) 1370s # return COM_ACME_COYOTE (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_for_bus_sync: 1370s # * @bus_type: A #GBusType. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: A bus name (well-known or unique). 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1370s # * 1370s # * The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GInitable *ret; 1370s # 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); 1370s # if (ret != NULL) 1370s # return COM_ACME_COYOTE (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteSkeleton: 1370s # * 1370s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1370s # */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteSkeletonClass: 1370s # * @parent_class: The parent class. 1370s # * 1370s # * Class structure for #ComAcmeCoyoteSkeleton. 1370s # */ 1370s # 1370s # struct _ComAcmeCoyoteSkeletonPrivate 1370s # { 1370s # GValue *properties; 1370s # GList *changed_properties; 1370s # GSource *changed_properties_idle_source; 1370s # GMainContext *context; 1370s # GMutex lock; 1370s # }; 1370s # 1370s # static void 1370s # _com_acme_coyote_skeleton_handle_method_call ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name, 1370s # const gchar *method_name, 1370s # GVariant *parameters, 1370s # GDBusMethodInvocation *invocation, 1370s # gpointer user_data) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1370s # _ExtendedGDBusMethodInfo *info; 1370s # GVariantIter iter; 1370s # GVariant *child; 1370s # GValue *paramv; 1370s # gsize num_params; 1370s # guint num_extra; 1370s # gsize n; 1370s # guint signal_id; 1370s # GValue return_value = G_VALUE_INIT; 1370s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1370s # g_assert (info != NULL); 1370s # num_params = g_variant_n_children (parameters); 1370s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1370s # n = 0; 1370s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1370s # g_value_set_object (¶mv[n++], skeleton); 1370s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1370s # g_value_set_object (¶mv[n++], invocation); 1370s # if (info->pass_fdlist) 1370s # { 1370s # #ifdef G_OS_UNIX 1370s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1370s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1370s # #else 1370s # g_assert_not_reached (); 1370s # #endif 1370s # } 1370s # g_variant_iter_init (&iter, parameters); 1370s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1370s # { 1370s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1370s # if (arg_info->use_gvariant) 1370s # { 1370s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1370s # g_value_set_variant (¶mv[n], child); 1370s # n++; 1370s # } 1370s # else 1370s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1370s # g_variant_unref (child); 1370s # } 1370s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1370s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1370s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1370s # if (!g_value_get_boolean (&return_value)) 1370s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1370s # g_value_unset (&return_value); 1370s # for (n = 0; n < num_params + num_extra; n++) 1370s # g_value_unset (¶mv[n]); 1370s # g_free (paramv); 1370s # } 1370s # 1370s # static GVariant * 1370s # _com_acme_coyote_skeleton_handle_get_property ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name G_GNUC_UNUSED, 1370s # const gchar *property_name, 1370s # GError **error, 1370s # gpointer user_data) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1370s # GValue value = G_VALUE_INIT; 1370s # GParamSpec *pspec; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # GVariant *ret; 1370s # ret = NULL; 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1370s # g_assert (info != NULL); 1370s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1370s # if (pspec == NULL) 1370s # { 1370s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1370s # } 1370s # else 1370s # { 1370s # g_value_init (&value, pspec->value_type); 1370s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1370s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1370s # g_value_unset (&value); 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static gboolean 1370s # _com_acme_coyote_skeleton_handle_set_property ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name G_GNUC_UNUSED, 1370s # const gchar *property_name, 1370s # GVariant *variant, 1370s # GError **error, 1370s # gpointer user_data) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1370s # GValue value = G_VALUE_INIT; 1370s # GParamSpec *pspec; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # gboolean ret; 1370s # ret = FALSE; 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1370s # g_assert (info != NULL); 1370s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1370s # if (pspec == NULL) 1370s # { 1370s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1370s # } 1370s # else 1370s # { 1370s # if (info->use_gvariant) 1370s # g_value_set_variant (&value, variant); 1370s # else 1370s # g_dbus_gvariant_to_gvalue (variant, &value); 1370s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1370s # g_value_unset (&value); 1370s # ret = TRUE; 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1370s # { 1370s # _com_acme_coyote_skeleton_handle_method_call, 1370s # _com_acme_coyote_skeleton_handle_get_property, 1370s # _com_acme_coyote_skeleton_handle_set_property, 1370s # {NULL} 1370s # }; 1370s # 1370s # static GDBusInterfaceInfo * 1370s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1370s # { 1370s # return com_acme_coyote_interface_info (); 1370s # } 1370s # 1370s # static GDBusInterfaceVTable * 1370s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1370s # { 1370s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1370s # } 1370s # 1370s # static GVariant * 1370s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1370s # 1370s # GVariantBuilder builder; 1370s # guint n; 1370s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1370s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1370s # goto out; 1370s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1370s # { 1370s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1370s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1370s # { 1370s # GVariant *value; 1370s # 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); 1370s # if (value != NULL) 1370s # { 1370s # g_variant_take_ref (value); 1370s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1370s # g_variant_unref (value); 1370s # } 1370s # } 1370s # } 1370s # out: 1370s # return g_variant_builder_end (&builder); 1370s # } 1370s # 1370s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1370s # gboolean emit_changed = FALSE; 1370s # 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # if (skeleton->priv->changed_properties_idle_source != NULL) 1370s # { 1370s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1370s # skeleton->priv->changed_properties_idle_source = NULL; 1370s # emit_changed = TRUE; 1370s # } 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # 1370s # if (emit_changed) 1370s # _com_acme_coyote_emit_changed (skeleton); 1370s # } 1370s # 1370s # static void 1370s # _com_acme_coyote_on_signal_surprised ( 1370s # ComAcmeCoyote *object) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # 1370s # GList *connections, *l; 1370s # GVariant *signal_variant; 1370s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1370s # 1370s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1370s # for (l = connections; l != NULL; l = l->next) 1370s # { 1370s # GDBusConnection *connection = l->data; 1370s # g_dbus_connection_emit_signal (connection, 1370s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1370s # signal_variant, NULL); 1370s # } 1370s # g_variant_unref (signal_variant); 1370s # g_list_free_full (connections, g_object_unref); 1370s # } 1370s # 1370s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1370s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1370s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1370s # 1370s # #else 1370s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1370s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1370s # 1370s # #endif 1370s # static void 1370s # com_acme_coyote_skeleton_finalize (GObject *object) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # guint n; 1370s # for (n = 0; n < 1; n++) 1370s # g_value_unset (&skeleton->priv->properties[n]); 1370s # g_free (skeleton->priv->properties); 1370s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1370s # if (skeleton->priv->changed_properties_idle_source != NULL) 1370s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1370s # g_main_context_unref (skeleton->priv->context); 1370s # g_mutex_clear (&skeleton->priv->lock); 1370s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_get_property (GObject *object, 1370s # guint prop_id, 1370s # GValue *value, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # } 1370s # 1370s # static gboolean 1370s # _com_acme_coyote_emit_changed (gpointer user_data) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1370s # GList *l; 1370s # GVariantBuilder builder; 1370s # GVariantBuilder invalidated_builder; 1370s # guint num_changes; 1370s # 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1370s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1370s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1370s # { 1370s # ChangedProperty *cp = l->data; 1370s # GVariant *variant; 1370s # const GValue *cur_value; 1370s # 1370s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1370s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1370s # { 1370s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1370s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1370s # g_variant_unref (variant); 1370s # num_changes++; 1370s # } 1370s # } 1370s # if (num_changes > 0) 1370s # { 1370s # GList *connections, *ll; 1370s # GVariant *signal_variant; 1370s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1370s # &builder, &invalidated_builder)); 1370s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1370s # for (ll = connections; ll != NULL; ll = ll->next) 1370s # { 1370s # GDBusConnection *connection = ll->data; 1370s # 1370s # g_dbus_connection_emit_signal (connection, 1370s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1370s # "org.freedesktop.DBus.Properties", 1370s # "PropertiesChanged", 1370s # signal_variant, 1370s # NULL); 1370s # } 1370s # g_variant_unref (signal_variant); 1370s # g_list_free_full (connections, g_object_unref); 1370s # } 1370s # else 1370s # { 1370s # g_variant_builder_clear (&builder); 1370s # g_variant_builder_clear (&invalidated_builder); 1370s # } 1370s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1370s # skeleton->priv->changed_properties = NULL; 1370s # skeleton->priv->changed_properties_idle_source = NULL; 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # return FALSE; 1370s # } 1370s # 1370s # static void 1370s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1370s # { 1370s # ChangedProperty *cp; 1370s # GList *l; 1370s # cp = NULL; 1370s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1370s # { 1370s # ChangedProperty *i_cp = l->data; 1370s # if (i_cp->info == info) 1370s # { 1370s # cp = i_cp; 1370s # break; 1370s # } 1370s # } 1370s # if (cp == NULL) 1370s # { 1370s # cp = g_new0 (ChangedProperty, 1); 1370s # cp->prop_id = prop_id; 1370s # cp->info = info; 1370s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1370s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1370s # g_value_copy (orig_value, &cp->orig_value); 1370s # } 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_notify (GObject *object, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # if (skeleton->priv->changed_properties != NULL && 1370s # skeleton->priv->changed_properties_idle_source == NULL) 1370s # { 1370s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1370s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1370s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1370s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1370s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1370s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1370s # } 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_set_property (GObject *object, 1370s # guint prop_id, 1370s # const GValue *value, 1370s # GParamSpec *pspec) 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info; 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1370s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # g_object_freeze_notify (object); 1370s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1370s # { 1370s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1370s # info->emits_changed_signal) 1370s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1370s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1370s # g_object_notify_by_pspec (object, pspec); 1370s # } 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # g_object_thaw_notify (object); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1370s # { 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1370s # #else 1370s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1370s # #endif 1370s # 1370s # g_mutex_init (&skeleton->priv->lock); 1370s # skeleton->priv->context = g_main_context_ref_thread_default (); 1370s # skeleton->priv->properties = g_new0 (GValue, 1); 1370s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1370s # } 1370s # 1370s # static const gchar * 1370s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # const gchar *value; 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # return value; 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1370s # { 1370s # GObjectClass *gobject_class; 1370s # GDBusInterfaceSkeletonClass *skeleton_class; 1370s # 1370s # gobject_class = G_OBJECT_CLASS (klass); 1370s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1370s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1370s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1370s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1370s # 1370s # 1370s # com_acme_coyote_override_properties (gobject_class, 1); 1370s # 1370s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1370s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1370s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1370s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1370s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1370s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1370s # #endif 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1370s # { 1370s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1370s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_skeleton_new: 1370s # * 1370s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_skeleton_new (void) 1370s # { 1370s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1370s # } 1370s # 1370s # /* ------------------------------------------------------------------------ 1370s # * Code for interface org.project.Bar.Frobnicator 1370s # * ------------------------------------------------------------------------ 1370s # */ 1370s # 1370s # /** 1370s # * SECTION:OrgProjectBarFrobnicator 1370s # * @title: OrgProjectBarFrobnicator 1370s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1370s # * 1370s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1370s # */ 1370s # 1370s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1370s # 1370s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "RandomMethod", 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "handle-random-method", 1370s # FALSE 1370s # }; 1370s # 1370s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1370s # { 1370s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1370s # NULL 1370s # }; 1370s # 1370s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "org.project.Bar.Frobnicator", 1370s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "org-project-bar-frobnicator", 1370s # }; 1370s # 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_interface_info: 1370s # * 1370s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1370s # * 1370s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1370s # */ 1370s # GDBusInterfaceInfo * 1370s # org_project_bar_frobnicator_interface_info (void) 1370s # { 1370s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_override_properties: 1370s # * @klass: The class structure for a #GObject derived class. 1370s # * @property_id_begin: The property id to assign to the first overridden property. 1370s # * 1370s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1370s # * The properties are overridden in the order they are defined. 1370s # * 1370s # * Returns: The last property id. 1370s # */ 1370s # guint 1370s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1370s # { 1370s # return property_id_begin - 1; 1370s # } 1370s # 1370s # 1370s # inline static void 1370s # org_project_bar_frobnicator_method_marshal_random_method ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicator: 1370s # * 1370s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1370s # */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorIface: 1370s # * @parent_iface: The parent interface. 1370s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1370s # * 1370s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1370s # */ 1370s # 1370s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1370s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1370s # { 1370s # /* GObject signals for incoming D-Bus method calls: */ 1370s # /** 1370s # * OrgProjectBarFrobnicator::handle-random-method: 1370s # * @object: A #OrgProjectBarFrobnicator. 1370s # * @invocation: A #GDBusMethodInvocation. 1370s # * 1370s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # g_signal_new ("handle-random-method", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1370s # g_signal_accumulator_true_handled, 1370s # NULL, 1370s # org_project_bar_frobnicator_method_marshal_random_method, 1370s # G_TYPE_BOOLEAN, 1370s # 1, 1370s # G_TYPE_DBUS_METHOD_INVOCATION); 1370s # 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_call_random_method: 1370s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1370s # * 1370s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1370s # */ 1370s # void 1370s # org_project_bar_frobnicator_call_random_method ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1370s # "RandomMethod", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # callback, 1370s # user_data); 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_call_random_method_finish: 1370s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # org_project_bar_frobnicator_call_random_method_finish ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_call_random_method_sync: 1370s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1370s # * 1370s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # org_project_bar_frobnicator_call_random_method_sync ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1370s # "RandomMethod", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_complete_random_method: 1370s # * @object: A #OrgProjectBarFrobnicator. 1370s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1370s # * 1370s # * 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. 1370s # * 1370s # * This method will free @invocation, you cannot use it afterwards. 1370s # */ 1370s # void 1370s # org_project_bar_frobnicator_complete_random_method ( 1370s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1370s # GDBusMethodInvocation *invocation) 1370s # { 1370s # g_dbus_method_invocation_return_value (invocation, 1370s # g_variant_new ("()")); 1370s # } 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorProxy: 1370s # * 1370s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1370s # */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorProxyClass: 1370s # * @parent_class: The parent class. 1370s # * 1370s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1370s # */ 1370s # 1370s # struct _OrgProjectBarFrobnicatorProxyPrivate 1370s # { 1370s # GData *qdata; 1370s # }; 1370s # 1370s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1370s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1370s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1370s # 1370s # #else 1370s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1370s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1370s # 1370s # #endif 1370s # static void 1370s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1370s # { 1370s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1370s # g_datalist_clear (&proxy->priv->qdata); 1370s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1370s # guint prop_id G_GNUC_UNUSED, 1370s # GValue *value G_GNUC_UNUSED, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1370s # guint prop_id G_GNUC_UNUSED, 1370s # const GValue *value G_GNUC_UNUSED, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1370s # const gchar *sender_name G_GNUC_UNUSED, 1370s # const gchar *signal_name, 1370s # GVariant *parameters) 1370s # { 1370s # _ExtendedGDBusSignalInfo *info; 1370s # GVariantIter iter; 1370s # GVariant *child; 1370s # GValue *paramv; 1370s # gsize num_params; 1370s # gsize n; 1370s # guint signal_id; 1370s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1370s # if (info == NULL) 1370s # return; 1370s # num_params = g_variant_n_children (parameters); 1370s # paramv = g_new0 (GValue, num_params + 1); 1370s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1370s # g_value_set_object (¶mv[0], proxy); 1370s # g_variant_iter_init (&iter, parameters); 1370s # n = 1; 1370s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1370s # { 1370s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1370s # if (arg_info->use_gvariant) 1370s # { 1370s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1370s # g_value_set_variant (¶mv[n], child); 1370s # n++; 1370s # } 1370s # else 1370s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1370s # g_variant_unref (child); 1370s # } 1370s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1370s # g_signal_emitv (paramv, signal_id, 0, NULL); 1370s # for (n = 0; n < num_params + 1; n++) 1370s # g_value_unset (¶mv[n]); 1370s # g_free (paramv); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1370s # GVariant *changed_properties, 1370s # const gchar *const *invalidated_properties) 1370s # { 1370s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1370s # guint n; 1370s # const gchar *key; 1370s # GVariantIter *iter; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # g_variant_get (changed_properties, "a{sv}", &iter); 1370s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1370s # { 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1370s # g_datalist_remove_data (&proxy->priv->qdata, key); 1370s # if (info != NULL) 1370s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1370s # } 1370s # g_variant_iter_free (iter); 1370s # for (n = 0; invalidated_properties[n] != NULL; n++) 1370s # { 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1370s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1370s # if (info != NULL) 1370s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1370s # } 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1370s # { 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1370s # #else 1370s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1370s # #endif 1370s # 1370s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1370s # { 1370s # GObjectClass *gobject_class; 1370s # GDBusProxyClass *proxy_class; 1370s # 1370s # gobject_class = G_OBJECT_CLASS (klass); 1370s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1370s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1370s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1370s # 1370s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1370s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1370s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1370s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1370s # #endif 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new: 1370s # * @connection: A #GDBusConnection. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1370s # * 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1370s # * 1370s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1370s # */ 1370s # void 1370s # org_project_bar_frobnicator_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # 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); 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_finish: 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GObject *ret; 1370s # GObject *source_object; 1370s # source_object = g_async_result_get_source_object (res); 1370s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1370s # g_object_unref (source_object); 1370s # if (ret != NULL) 1370s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_sync: 1370s # * @connection: A #GDBusConnection. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1370s # * 1370s # * The calling thread is blocked until a reply is received. 1370s # * 1370s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GInitable *ret; 1370s # 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); 1370s # if (ret != NULL) 1370s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_for_bus: 1370s # * @bus_type: A #GBusType. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: A bus name (well-known or unique). 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1370s # * 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1370s # * 1370s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1370s # */ 1370s # void 1370s # org_project_bar_frobnicator_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # 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); 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GObject *ret; 1370s # GObject *source_object; 1370s # source_object = g_async_result_get_source_object (res); 1370s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1370s # g_object_unref (source_object); 1370s # if (ret != NULL) 1370s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1370s # * @bus_type: A #GBusType. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: A bus name (well-known or unique). 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1370s # * 1370s # * The calling thread is blocked until a reply is received. 1370s # * 1370s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GInitable *ret; 1370s # 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); 1370s # if (ret != NULL) 1370s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorSkeleton: 1370s # * 1370s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1370s # */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorSkeletonClass: 1370s # * @parent_class: The parent class. 1370s # * 1370s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1370s # */ 1370s # 1370s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1370s # { 1370s # GValue *properties; 1370s # GList *changed_properties; 1370s # GSource *changed_properties_idle_source; 1370s # GMainContext *context; 1370s # GMutex lock; 1370s # }; 1370s # 1370s # static void 1370s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name, 1370s # const gchar *method_name, 1370s # GVariant *parameters, 1370s # GDBusMethodInvocation *invocation, 1370s # gpointer user_data) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1370s # _ExtendedGDBusMethodInfo *info; 1370s # GVariantIter iter; 1370s # GVariant *child; 1370s # GValue *paramv; 1370s # gsize num_params; 1370s # guint num_extra; 1370s # gsize n; 1370s # guint signal_id; 1370s # GValue return_value = G_VALUE_INIT; 1370s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1370s # g_assert (info != NULL); 1370s # num_params = g_variant_n_children (parameters); 1370s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1370s # n = 0; 1370s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1370s # g_value_set_object (¶mv[n++], skeleton); 1370s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1370s # g_value_set_object (¶mv[n++], invocation); 1370s # if (info->pass_fdlist) 1370s # { 1370s # #ifdef G_OS_UNIX 1370s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1370s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1370s # #else 1370s # g_assert_not_reached (); 1370s # #endif 1370s # } 1370s # g_variant_iter_init (&iter, parameters); 1370s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1370s # { 1370s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1370s # if (arg_info->use_gvariant) 1370s # { 1370s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1370s # g_value_set_variant (¶mv[n], child); 1370s # n++; 1370s # } 1370s # else 1370s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1370s # g_variant_unref (child); 1370s # } 1370s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1370s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1370s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1370s # if (!g_value_get_boolean (&return_value)) 1370s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1370s # g_value_unset (&return_value); 1370s # for (n = 0; n < num_params + num_extra; n++) 1370s # g_value_unset (¶mv[n]); 1370s # g_free (paramv); 1370s # } 1370s # 1370s # static GVariant * 1370s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name G_GNUC_UNUSED, 1370s # const gchar *property_name, 1370s # GError **error, 1370s # gpointer user_data) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1370s # GValue value = G_VALUE_INIT; 1370s # GParamSpec *pspec; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # GVariant *ret; 1370s # ret = NULL; 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1370s # g_assert (info != NULL); 1370s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1370s # if (pspec == NULL) 1370s # { 1370s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1370s # } 1370s # else 1370s # { 1370s # g_value_init (&value, pspec->value_type); 1370s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1370s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1370s # g_value_unset (&value); 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static gboolean 1370s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name G_GNUC_UNUSED, 1370s # const gchar *property_name, 1370s # GVariant *variant, 1370s # GError **error, 1370s # gpointer user_data) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1370s # GValue value = G_VALUE_INIT; 1370s # GParamSpec *pspec; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # gboolean ret; 1370s # ret = FALSE; 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1370s # g_assert (info != NULL); 1370s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1370s # if (pspec == NULL) 1370s # { 1370s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1370s # } 1370s # else 1370s # { 1370s # if (info->use_gvariant) 1370s # g_value_set_variant (&value, variant); 1370s # else 1370s # g_dbus_gvariant_to_gvalue (variant, &value); 1370s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1370s # g_value_unset (&value); 1370s # ret = TRUE; 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1370s # { 1370s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1370s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1370s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1370s # {NULL} 1370s # }; 1370s # 1370s # static GDBusInterfaceInfo * 1370s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1370s # { 1370s # return org_project_bar_frobnicator_interface_info (); 1370s # } 1370s # 1370s # static GDBusInterfaceVTable * 1370s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1370s # { 1370s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1370s # } 1370s # 1370s # static GVariant * 1370s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1370s # 1370s # GVariantBuilder builder; 1370s # guint n; 1370s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1370s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1370s # goto out; 1370s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1370s # { 1370s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1370s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1370s # { 1370s # GVariant *value; 1370s # 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); 1370s # if (value != NULL) 1370s # { 1370s # g_variant_take_ref (value); 1370s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1370s # g_variant_unref (value); 1370s # } 1370s # } 1370s # } 1370s # out: 1370s # return g_variant_builder_end (&builder); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1370s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1370s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1370s # 1370s # #else 1370s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1370s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1370s # 1370s # #endif 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1370s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1370s # if (skeleton->priv->changed_properties_idle_source != NULL) 1370s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1370s # g_main_context_unref (skeleton->priv->context); 1370s # g_mutex_clear (&skeleton->priv->lock); 1370s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1370s # { 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1370s # #else 1370s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1370s # #endif 1370s # 1370s # g_mutex_init (&skeleton->priv->lock); 1370s # skeleton->priv->context = g_main_context_ref_thread_default (); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1370s # { 1370s # GObjectClass *gobject_class; 1370s # GDBusInterfaceSkeletonClass *skeleton_class; 1370s # 1370s # gobject_class = G_OBJECT_CLASS (klass); 1370s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1370s # 1370s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1370s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1370s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1370s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1370s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1370s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1370s # #endif 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_skeleton_new: 1370s # * 1370s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_skeleton_new (void) 1370s # { 1370s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1370s # } 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxx5wckfe/tmpcdfm67ya2.xml', '/tmp/tmpxx5wckfe/tmp6e0ke4c11.xml', '--output', '-', '--body'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifdef HAVE_CONFIG_H 1370s # # include "config.h" 1370s # #endif 1370s # 1370s # #include 1370s # #ifdef G_OS_UNIX 1370s # # include 1370s # #endif 1370s # 1370s # #ifdef G_ENABLE_DEBUG 1370s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1370s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1370s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1370s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1370s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1370s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1370s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1370s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1370s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1370s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1370s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1370s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1370s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1370s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1370s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1370s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1370s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1370s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1370s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1370s # #else /* !G_ENABLE_DEBUG */ 1370s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1370s # * Do not access GValues directly in your code. Instead, use the 1370s # * g_value_get_*() functions 1370s # */ 1370s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1370s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1370s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1370s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1370s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1370s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1370s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1370s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1370s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1370s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1370s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1370s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1370s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1370s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1370s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1370s # #endif /* !G_ENABLE_DEBUG */ 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusArgInfo parent_struct; 1370s # gboolean use_gvariant; 1370s # } _ExtendedGDBusArgInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusMethodInfo parent_struct; 1370s # const gchar *signal_name; 1370s # gboolean pass_fdlist; 1370s # } _ExtendedGDBusMethodInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusSignalInfo parent_struct; 1370s # const gchar *signal_name; 1370s # } _ExtendedGDBusSignalInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusPropertyInfo parent_struct; 1370s # const gchar *hyphen_name; 1370s # guint use_gvariant : 1; 1370s # guint emits_changed_signal : 1; 1370s # } _ExtendedGDBusPropertyInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # GDBusInterfaceInfo parent_struct; 1370s # const gchar *hyphen_name; 1370s # } _ExtendedGDBusInterfaceInfo; 1370s # 1370s # typedef struct 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info; 1370s # guint prop_id; 1370s # GValue orig_value; /* the value before the change */ 1370s # } ChangedProperty; 1370s # 1370s # static void 1370s # _changed_property_free (ChangedProperty *data) 1370s # { 1370s # g_value_unset (&data->orig_value); 1370s # g_free (data); 1370s # } 1370s # 1370s # static gboolean 1370s # _g_strv_equal0 (gchar **a, gchar **b) 1370s # { 1370s # gboolean ret = FALSE; 1370s # guint n; 1370s # if (a == NULL && b == NULL) 1370s # { 1370s # ret = TRUE; 1370s # goto out; 1370s # } 1370s # if (a == NULL || b == NULL) 1370s # goto out; 1370s # if (g_strv_length (a) != g_strv_length (b)) 1370s # goto out; 1370s # for (n = 0; a[n] != NULL; n++) 1370s # if (g_strcmp0 (a[n], b[n]) != 0) 1370s # goto out; 1370s # ret = TRUE; 1370s # out: 1370s # return ret; 1370s # } 1370s # 1370s # static gboolean 1370s # _g_variant_equal0 (GVariant *a, GVariant *b) 1370s # { 1370s # gboolean ret = FALSE; 1370s # if (a == NULL && b == NULL) 1370s # { 1370s # ret = TRUE; 1370s # goto out; 1370s # } 1370s # if (a == NULL || b == NULL) 1370s # goto out; 1370s # ret = g_variant_equal (a, b); 1370s # out: 1370s # return ret; 1370s # } 1370s # 1370s # G_GNUC_UNUSED static gboolean 1370s # _g_value_equal (const GValue *a, const GValue *b) 1370s # { 1370s # gboolean ret = FALSE; 1370s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1370s # switch (G_VALUE_TYPE (a)) 1370s # { 1370s # case G_TYPE_BOOLEAN: 1370s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1370s # break; 1370s # case G_TYPE_UCHAR: 1370s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1370s # break; 1370s # case G_TYPE_INT: 1370s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1370s # break; 1370s # case G_TYPE_UINT: 1370s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1370s # break; 1370s # case G_TYPE_INT64: 1370s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1370s # break; 1370s # case G_TYPE_UINT64: 1370s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1370s # break; 1370s # case G_TYPE_DOUBLE: 1370s # { 1370s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1370s # gdouble da = g_value_get_double (a); 1370s # gdouble db = g_value_get_double (b); 1370s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1370s # } 1370s # break; 1370s # case G_TYPE_STRING: 1370s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1370s # break; 1370s # case G_TYPE_VARIANT: 1370s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1370s # break; 1370s # default: 1370s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1370s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1370s # else 1370s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1370s # break; 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static void 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint G_GNUC_UNUSED, 1370s # void *marshal_data) 1370s # { 1370s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1370s # (void *data1, 1370s # GDBusMethodInvocation *arg_method_invocation, 1370s # void *data2); 1370s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1370s # GCClosure *cc = (GCClosure*) closure; 1370s # void *data1, *data2; 1370s # gboolean v_return; 1370s # 1370s # g_return_if_fail (return_value != NULL); 1370s # g_return_if_fail (n_param_values == 2); 1370s # 1370s # if (G_CCLOSURE_SWAP_DATA (closure)) 1370s # { 1370s # data1 = closure->data; 1370s # data2 = g_value_peek_pointer (param_values + 0); 1370s # } 1370s # else 1370s # { 1370s # data1 = g_value_peek_pointer (param_values + 0); 1370s # data2 = closure->data; 1370s # } 1370s # 1370s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1370s # (marshal_data ? marshal_data : cc->callback); 1370s # 1370s # v_return = 1370s # callback (data1, 1370s # g_marshal_value_peek_object (param_values + 1), 1370s # data2); 1370s # 1370s # g_value_set_boolean (return_value, v_return); 1370s # } 1370s # 1370s # /* ------------------------------------------------------------------------ 1370s # * Code for interface com.acme.Coyote 1370s # * ------------------------------------------------------------------------ 1370s # */ 1370s # 1370s # /** 1370s # * SECTION:ComAcmeCoyote 1370s # * @title: ComAcmeCoyote 1370s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1370s # * 1370s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1370s # */ 1370s # 1370s # enum 1370s # { 1370s # _COM_ACME_COYOTE_SURPRISED, 1370s # }; 1370s # 1370s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1370s # 1370s # /* ---- Introspection data for com.acme.Coyote ---- */ 1370s # 1370s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Run", 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "handle-run", 1370s # FALSE 1370s # }; 1370s # 1370s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Sleep", 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "handle-sleep", 1370s # FALSE 1370s # }; 1370s # 1370s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Attack", 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "handle-attack", 1370s # FALSE 1370s # }; 1370s # 1370s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1370s # { 1370s # &_com_acme_coyote_method_info_run.parent_struct, 1370s # &_com_acme_coyote_method_info_sleep.parent_struct, 1370s # &_com_acme_coyote_method_info_attack.parent_struct, 1370s # NULL 1370s # }; 1370s # 1370s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Surprised", 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "surprised" 1370s # }; 1370s # 1370s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1370s # { 1370s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1370s # NULL 1370s # }; 1370s # 1370s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "Mood", 1370s # (gchar *) "s", 1370s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1370s # NULL 1370s # }, 1370s # "mood", 1370s # FALSE, 1370s # TRUE 1370s # }; 1370s # 1370s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1370s # { 1370s # &_com_acme_coyote_property_info_mood.parent_struct, 1370s # NULL 1370s # }; 1370s # 1370s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "com.acme.Coyote", 1370s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1370s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1370s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1370s # NULL 1370s # }, 1370s # "com-acme-coyote", 1370s # }; 1370s # 1370s # 1370s # /** 1370s # * com_acme_coyote_interface_info: 1370s # * 1370s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1370s # * 1370s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1370s # */ 1370s # GDBusInterfaceInfo * 1370s # com_acme_coyote_interface_info (void) 1370s # { 1370s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_override_properties: 1370s # * @klass: The class structure for a #GObject derived class. 1370s # * @property_id_begin: The property id to assign to the first overridden property. 1370s # * 1370s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1370s # * The properties are overridden in the order they are defined. 1370s # * 1370s # * Returns: The last property id. 1370s # */ 1370s # guint 1370s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1370s # { 1370s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1370s # return property_id_begin - 1; 1370s # } 1370s # 1370s # 1370s # inline static void 1370s # com_acme_coyote_signal_marshal_surprised ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # g_cclosure_marshal_VOID__VOID (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # inline static void 1370s # com_acme_coyote_method_marshal_run ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # inline static void 1370s # com_acme_coyote_method_marshal_sleep ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # inline static void 1370s # com_acme_coyote_method_marshal_attack ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # 1370s # /** 1370s # * ComAcmeCoyote: 1370s # * 1370s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1370s # */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteIface: 1370s # * @parent_iface: The parent interface. 1370s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1370s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1370s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1370s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1370s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1370s # * 1370s # * Virtual table for the D-Bus interface com.acme.Coyote. 1370s # */ 1370s # 1370s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1370s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1370s # 1370s # static void 1370s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1370s # { 1370s # /* GObject signals for incoming D-Bus method calls: */ 1370s # /** 1370s # * ComAcmeCoyote::handle-run: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: A #GDBusMethodInvocation. 1370s # * 1370s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # g_signal_new ("handle-run", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1370s # g_signal_accumulator_true_handled, 1370s # NULL, 1370s # com_acme_coyote_method_marshal_run, 1370s # G_TYPE_BOOLEAN, 1370s # 1, 1370s # G_TYPE_DBUS_METHOD_INVOCATION); 1370s # 1370s # /** 1370s # * ComAcmeCoyote::handle-sleep: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: A #GDBusMethodInvocation. 1370s # * 1370s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # g_signal_new ("handle-sleep", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1370s # g_signal_accumulator_true_handled, 1370s # NULL, 1370s # com_acme_coyote_method_marshal_sleep, 1370s # G_TYPE_BOOLEAN, 1370s # 1, 1370s # G_TYPE_DBUS_METHOD_INVOCATION); 1370s # 1370s # /** 1370s # * ComAcmeCoyote::handle-attack: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: A #GDBusMethodInvocation. 1370s # * 1370s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # g_signal_new ("handle-attack", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1370s # g_signal_accumulator_true_handled, 1370s # NULL, 1370s # com_acme_coyote_method_marshal_attack, 1370s # G_TYPE_BOOLEAN, 1370s # 1, 1370s # G_TYPE_DBUS_METHOD_INVOCATION); 1370s # 1370s # /* GObject signals for received D-Bus signals: */ 1370s # /** 1370s # * ComAcmeCoyote::surprised: 1370s # * @object: A #ComAcmeCoyote. 1370s # * 1370s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1370s # * 1370s # * 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. 1370s # */ 1370s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1370s # g_signal_new ("surprised", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1370s # NULL, 1370s # NULL, 1370s # com_acme_coyote_signal_marshal_surprised, 1370s # G_TYPE_NONE, 1370s # 0); 1370s # 1370s # /* GObject properties for D-Bus properties: */ 1370s # /** 1370s # * ComAcmeCoyote:mood: 1370s # * 1370s # * Represents the D-Bus property "Mood". 1370s # * 1370s # * 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. 1370s # */ 1370s # g_object_interface_install_property (iface, 1370s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_get_mood: (skip) 1370s # * @object: A #ComAcmeCoyote. 1370s # * 1370s # * Gets the value of the "Mood" D-Bus property. 1370s # * 1370s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # const gchar * 1370s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1370s # { 1370s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1370s # 1370s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_dup_mood: (skip) 1370s # * @object: A #ComAcmeCoyote. 1370s # * 1370s # * Gets a copy of the "Mood" D-Bus property. 1370s # * 1370s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1370s # * 1370s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1370s # */ 1370s # gchar * 1370s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1370s # { 1370s # gchar *value; 1370s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1370s # return value; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_set_mood: (skip) 1370s # * @object: A #ComAcmeCoyote. 1370s # * @value: The value to set. 1370s # * 1370s # * Sets the "Mood" D-Bus property to @value. 1370s # * 1370s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1370s # */ 1370s # void 1370s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1370s # { 1370s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_emit_surprised: 1370s # * @object: A #ComAcmeCoyote. 1370s # * 1370s # * Emits the "Surprised" D-Bus signal. 1370s # */ 1370s # void 1370s # com_acme_coyote_emit_surprised ( 1370s # ComAcmeCoyote *object) 1370s # { 1370s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_run: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1370s # */ 1370s # void 1370s # com_acme_coyote_call_run ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1370s # "Run", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # callback, 1370s # user_data); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_run_finish: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_call_run(). 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_run_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_run_sync: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_run_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1370s # "Run", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_sleep: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1370s # */ 1370s # void 1370s # com_acme_coyote_call_sleep ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1370s # "Sleep", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # callback, 1370s # user_data); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_sleep_finish: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_sleep_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_sleep_sync: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_sleep_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1370s # "Sleep", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_attack: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1370s # */ 1370s # void 1370s # com_acme_coyote_call_attack ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1370s # "Attack", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # callback, 1370s # user_data); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_attack_finish: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_call_attack(). 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_attack_finish ( 1370s # ComAcmeCoyote *proxy, 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_call_attack_sync: 1370s # * @proxy: A #ComAcmeCoyoteProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # com_acme_coyote_call_attack_sync ( 1370s # ComAcmeCoyote *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1370s # "Attack", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_complete_run: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1370s # * 1370s # * 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. 1370s # * 1370s # * This method will free @invocation, you cannot use it afterwards. 1370s # */ 1370s # void 1370s # com_acme_coyote_complete_run ( 1370s # ComAcmeCoyote *object G_GNUC_UNUSED, 1370s # GDBusMethodInvocation *invocation) 1370s # { 1370s # g_dbus_method_invocation_return_value (invocation, 1370s # g_variant_new ("()")); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_complete_sleep: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1370s # * 1370s # * 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. 1370s # * 1370s # * This method will free @invocation, you cannot use it afterwards. 1370s # */ 1370s # void 1370s # com_acme_coyote_complete_sleep ( 1370s # ComAcmeCoyote *object G_GNUC_UNUSED, 1370s # GDBusMethodInvocation *invocation) 1370s # { 1370s # g_dbus_method_invocation_return_value (invocation, 1370s # g_variant_new ("()")); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_complete_attack: 1370s # * @object: A #ComAcmeCoyote. 1370s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1370s # * 1370s # * 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. 1370s # * 1370s # * This method will free @invocation, you cannot use it afterwards. 1370s # */ 1370s # void 1370s # com_acme_coyote_complete_attack ( 1370s # ComAcmeCoyote *object G_GNUC_UNUSED, 1370s # GDBusMethodInvocation *invocation) 1370s # { 1370s # g_dbus_method_invocation_return_value (invocation, 1370s # g_variant_new ("()")); 1370s # } 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteProxy: 1370s # * 1370s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1370s # */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteProxyClass: 1370s # * @parent_class: The parent class. 1370s # * 1370s # * Class structure for #ComAcmeCoyoteProxy. 1370s # */ 1370s # 1370s # struct _ComAcmeCoyoteProxyPrivate 1370s # { 1370s # GData *qdata; 1370s # }; 1370s # 1370s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1370s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1370s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1370s # 1370s # #else 1370s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1370s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1370s # 1370s # #endif 1370s # static void 1370s # com_acme_coyote_proxy_finalize (GObject *object) 1370s # { 1370s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1370s # g_datalist_clear (&proxy->priv->qdata); 1370s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_get_property (GObject *object, 1370s # guint prop_id, 1370s # GValue *value, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info; 1370s # GVariant *variant; 1370s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1370s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1370s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1370s # if (info->use_gvariant) 1370s # { 1370s # g_value_set_variant (value, variant); 1370s # } 1370s # else 1370s # { 1370s # if (variant != NULL) 1370s # g_dbus_gvariant_to_gvalue (variant, value); 1370s # } 1370s # if (variant != NULL) 1370s # g_variant_unref (variant); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1370s # GAsyncResult *res, 1370s # gpointer user_data) 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info = user_data; 1370s # GError *error; 1370s # GVariant *_ret; 1370s # error = NULL; 1370s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1370s # if (!_ret) 1370s # { 1370s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1370s # info->parent_struct.name, 1370s # error->message, g_quark_to_string (error->domain), error->code); 1370s # g_error_free (error); 1370s # } 1370s # else 1370s # { 1370s # g_variant_unref (_ret); 1370s # } 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_set_property (GObject *object, 1370s # guint prop_id, 1370s # const GValue *value, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info; 1370s # GVariant *variant; 1370s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1370s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1370s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1370s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1370s # "org.freedesktop.DBus.Properties.Set", 1370s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1370s # g_variant_unref (variant); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1370s # const gchar *sender_name G_GNUC_UNUSED, 1370s # const gchar *signal_name, 1370s # GVariant *parameters) 1370s # { 1370s # _ExtendedGDBusSignalInfo *info; 1370s # GVariantIter iter; 1370s # GVariant *child; 1370s # GValue *paramv; 1370s # gsize num_params; 1370s # gsize n; 1370s # guint signal_id; 1370s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1370s # if (info == NULL) 1370s # return; 1370s # num_params = g_variant_n_children (parameters); 1370s # paramv = g_new0 (GValue, num_params + 1); 1370s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1370s # g_value_set_object (¶mv[0], proxy); 1370s # g_variant_iter_init (&iter, parameters); 1370s # n = 1; 1370s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1370s # { 1370s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1370s # if (arg_info->use_gvariant) 1370s # { 1370s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1370s # g_value_set_variant (¶mv[n], child); 1370s # n++; 1370s # } 1370s # else 1370s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1370s # g_variant_unref (child); 1370s # } 1370s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1370s # g_signal_emitv (paramv, signal_id, 0, NULL); 1370s # for (n = 0; n < num_params + 1; n++) 1370s # g_value_unset (¶mv[n]); 1370s # g_free (paramv); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1370s # GVariant *changed_properties, 1370s # const gchar *const *invalidated_properties) 1370s # { 1370s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1370s # guint n; 1370s # const gchar *key; 1370s # GVariantIter *iter; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # g_variant_get (changed_properties, "a{sv}", &iter); 1370s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1370s # { 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1370s # g_datalist_remove_data (&proxy->priv->qdata, key); 1370s # if (info != NULL) 1370s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1370s # } 1370s # g_variant_iter_free (iter); 1370s # for (n = 0; invalidated_properties[n] != NULL; n++) 1370s # { 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1370s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1370s # if (info != NULL) 1370s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1370s # } 1370s # } 1370s # 1370s # static const gchar * 1370s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1370s # { 1370s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1370s # GVariant *variant; 1370s # const gchar *value = NULL; 1370s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1370s # if (variant != NULL) 1370s # { 1370s # value = g_variant_get_string (variant, NULL); 1370s # g_variant_unref (variant); 1370s # } 1370s # return value; 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1370s # { 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1370s # #else 1370s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1370s # #endif 1370s # 1370s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1370s # { 1370s # GObjectClass *gobject_class; 1370s # GDBusProxyClass *proxy_class; 1370s # 1370s # gobject_class = G_OBJECT_CLASS (klass); 1370s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1370s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1370s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1370s # 1370s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1370s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1370s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1370s # 1370s # com_acme_coyote_override_properties (gobject_class, 1); 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1370s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1370s # #endif 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1370s # { 1370s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new: 1370s # * @connection: A #GDBusConnection. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1370s # * 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1370s # */ 1370s # void 1370s # com_acme_coyote_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # 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); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_finish: 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GObject *ret; 1370s # GObject *source_object; 1370s # source_object = g_async_result_get_source_object (res); 1370s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1370s # g_object_unref (source_object); 1370s # if (ret != NULL) 1370s # return COM_ACME_COYOTE (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_sync: 1370s # * @connection: A #GDBusConnection. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1370s # * 1370s # * The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GInitable *ret; 1370s # 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); 1370s # if (ret != NULL) 1370s # return COM_ACME_COYOTE (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_for_bus: 1370s # * @bus_type: A #GBusType. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: A bus name (well-known or unique). 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1370s # * 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1370s # * 1370s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1370s # */ 1370s # void 1370s # com_acme_coyote_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # 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); 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_for_bus_finish: 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GObject *ret; 1370s # GObject *source_object; 1370s # source_object = g_async_result_get_source_object (res); 1370s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1370s # g_object_unref (source_object); 1370s # if (ret != NULL) 1370s # return COM_ACME_COYOTE (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_proxy_new_for_bus_sync: 1370s # * @bus_type: A #GBusType. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: A bus name (well-known or unique). 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1370s # * 1370s # * The calling thread is blocked until a reply is received. 1370s # * 1370s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GInitable *ret; 1370s # 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); 1370s # if (ret != NULL) 1370s # return COM_ACME_COYOTE (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteSkeleton: 1370s # * 1370s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1370s # */ 1370s # 1370s # /** 1370s # * ComAcmeCoyoteSkeletonClass: 1370s # * @parent_class: The parent class. 1370s # * 1370s # * Class structure for #ComAcmeCoyoteSkeleton. 1370s # */ 1370s # 1370s # struct _ComAcmeCoyoteSkeletonPrivate 1370s # { 1370s # GValue *properties; 1370s # GList *changed_properties; 1370s # GSource *changed_properties_idle_source; 1370s # GMainContext *context; 1370s # GMutex lock; 1370s # }; 1370s # 1370s # static void 1370s # _com_acme_coyote_skeleton_handle_method_call ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name, 1370s # const gchar *method_name, 1370s # GVariant *parameters, 1370s # GDBusMethodInvocation *invocation, 1370s # gpointer user_data) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1370s # _ExtendedGDBusMethodInfo *info; 1370s # GVariantIter iter; 1370s # GVariant *child; 1370s # GValue *paramv; 1370s # gsize num_params; 1370s # guint num_extra; 1370s # gsize n; 1370s # guint signal_id; 1370s # GValue return_value = G_VALUE_INIT; 1370s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1370s # g_assert (info != NULL); 1370s # num_params = g_variant_n_children (parameters); 1370s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1370s # n = 0; 1370s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1370s # g_value_set_object (¶mv[n++], skeleton); 1370s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1370s # g_value_set_object (¶mv[n++], invocation); 1370s # if (info->pass_fdlist) 1370s # { 1370s # #ifdef G_OS_UNIX 1370s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1370s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1370s # #else 1370s # g_assert_not_reached (); 1370s # #endif 1370s # } 1370s # g_variant_iter_init (&iter, parameters); 1370s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1370s # { 1370s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1370s # if (arg_info->use_gvariant) 1370s # { 1370s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1370s # g_value_set_variant (¶mv[n], child); 1370s # n++; 1370s # } 1370s # else 1370s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1370s # g_variant_unref (child); 1370s # } 1370s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1370s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1370s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1370s # if (!g_value_get_boolean (&return_value)) 1370s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1370s # g_value_unset (&return_value); 1370s # for (n = 0; n < num_params + num_extra; n++) 1370s # g_value_unset (¶mv[n]); 1370s # g_free (paramv); 1370s # } 1370s # 1370s # static GVariant * 1370s # _com_acme_coyote_skeleton_handle_get_property ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name G_GNUC_UNUSED, 1370s # const gchar *property_name, 1370s # GError **error, 1370s # gpointer user_data) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1370s # GValue value = G_VALUE_INIT; 1370s # GParamSpec *pspec; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # GVariant *ret; 1370s # ret = NULL; 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1370s # g_assert (info != NULL); 1370s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1370s # if (pspec == NULL) 1370s # { 1370s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1370s # } 1370s # else 1370s # { 1370s # g_value_init (&value, pspec->value_type); 1370s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1370s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1370s # g_value_unset (&value); 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static gboolean 1370s # _com_acme_coyote_skeleton_handle_set_property ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name G_GNUC_UNUSED, 1370s # const gchar *property_name, 1370s # GVariant *variant, 1370s # GError **error, 1370s # gpointer user_data) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1370s # GValue value = G_VALUE_INIT; 1370s # GParamSpec *pspec; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # gboolean ret; 1370s # ret = FALSE; 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1370s # g_assert (info != NULL); 1370s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1370s # if (pspec == NULL) 1370s # { 1370s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1370s # } 1370s # else 1370s # { 1370s # if (info->use_gvariant) 1370s # g_value_set_variant (&value, variant); 1370s # else 1370s # g_dbus_gvariant_to_gvalue (variant, &value); 1370s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1370s # g_value_unset (&value); 1370s # ret = TRUE; 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1370s # { 1370s # _com_acme_coyote_skeleton_handle_method_call, 1370s # _com_acme_coyote_skeleton_handle_get_property, 1370s # _com_acme_coyote_skeleton_handle_set_property, 1370s # {NULL} 1370s # }; 1370s # 1370s # static GDBusInterfaceInfo * 1370s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1370s # { 1370s # return com_acme_coyote_interface_info (); 1370s # } 1370s # 1370s # static GDBusInterfaceVTable * 1370s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1370s # { 1370s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1370s # } 1370s # 1370s # static GVariant * 1370s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1370s # 1370s # GVariantBuilder builder; 1370s # guint n; 1370s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1370s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1370s # goto out; 1370s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1370s # { 1370s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1370s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1370s # { 1370s # GVariant *value; 1370s # 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); 1370s # if (value != NULL) 1370s # { 1370s # g_variant_take_ref (value); 1370s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1370s # g_variant_unref (value); 1370s # } 1370s # } 1370s # } 1370s # out: 1370s # return g_variant_builder_end (&builder); 1370s # } 1370s # 1370s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1370s # gboolean emit_changed = FALSE; 1370s # 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # if (skeleton->priv->changed_properties_idle_source != NULL) 1370s # { 1370s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1370s # skeleton->priv->changed_properties_idle_source = NULL; 1370s # emit_changed = TRUE; 1370s # } 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # 1370s # if (emit_changed) 1370s # _com_acme_coyote_emit_changed (skeleton); 1370s # } 1370s # 1370s # static void 1370s # _com_acme_coyote_on_signal_surprised ( 1370s # ComAcmeCoyote *object) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # 1370s # GList *connections, *l; 1370s # GVariant *signal_variant; 1370s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1370s # 1370s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1370s # for (l = connections; l != NULL; l = l->next) 1370s # { 1370s # GDBusConnection *connection = l->data; 1370s # g_dbus_connection_emit_signal (connection, 1370s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1370s # signal_variant, NULL); 1370s # } 1370s # g_variant_unref (signal_variant); 1370s # g_list_free_full (connections, g_object_unref); 1370s # } 1370s # 1370s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1370s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1370s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1370s # 1370s # #else 1370s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1370s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1370s # 1370s # #endif 1370s # static void 1370s # com_acme_coyote_skeleton_finalize (GObject *object) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # guint n; 1370s # for (n = 0; n < 1; n++) 1370s # g_value_unset (&skeleton->priv->properties[n]); 1370s # g_free (skeleton->priv->properties); 1370s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1370s # if (skeleton->priv->changed_properties_idle_source != NULL) 1370s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1370s # g_main_context_unref (skeleton->priv->context); 1370s # g_mutex_clear (&skeleton->priv->lock); 1370s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_get_property (GObject *object, 1370s # guint prop_id, 1370s # GValue *value, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # } 1370s # 1370s # static gboolean 1370s # _com_acme_coyote_emit_changed (gpointer user_data) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1370s # GList *l; 1370s # GVariantBuilder builder; 1370s # GVariantBuilder invalidated_builder; 1370s # guint num_changes; 1370s # 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1370s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1370s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1370s # { 1370s # ChangedProperty *cp = l->data; 1370s # GVariant *variant; 1370s # const GValue *cur_value; 1370s # 1370s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1370s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1370s # { 1370s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1370s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1370s # g_variant_unref (variant); 1370s # num_changes++; 1370s # } 1370s # } 1370s # if (num_changes > 0) 1370s # { 1370s # GList *connections, *ll; 1370s # GVariant *signal_variant; 1370s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1370s # &builder, &invalidated_builder)); 1370s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1370s # for (ll = connections; ll != NULL; ll = ll->next) 1370s # { 1370s # GDBusConnection *connection = ll->data; 1370s # 1370s # g_dbus_connection_emit_signal (connection, 1370s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1370s # "org.freedesktop.DBus.Properties", 1370s # "PropertiesChanged", 1370s # signal_variant, 1370s # NULL); 1370s # } 1370s # g_variant_unref (signal_variant); 1370s # g_list_free_full (connections, g_object_unref); 1370s # } 1370s # else 1370s # { 1370s # g_variant_builder_clear (&builder); 1370s # g_variant_builder_clear (&invalidated_builder); 1370s # } 1370s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1370s # skeleton->priv->changed_properties = NULL; 1370s # skeleton->priv->changed_properties_idle_source = NULL; 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # return FALSE; 1370s # } 1370s # 1370s # static void 1370s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1370s # { 1370s # ChangedProperty *cp; 1370s # GList *l; 1370s # cp = NULL; 1370s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1370s # { 1370s # ChangedProperty *i_cp = l->data; 1370s # if (i_cp->info == info) 1370s # { 1370s # cp = i_cp; 1370s # break; 1370s # } 1370s # } 1370s # if (cp == NULL) 1370s # { 1370s # cp = g_new0 (ChangedProperty, 1); 1370s # cp->prop_id = prop_id; 1370s # cp->info = info; 1370s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1370s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1370s # g_value_copy (orig_value, &cp->orig_value); 1370s # } 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_notify (GObject *object, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # if (skeleton->priv->changed_properties != NULL && 1370s # skeleton->priv->changed_properties_idle_source == NULL) 1370s # { 1370s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1370s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1370s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1370s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1370s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1370s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1370s # } 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_set_property (GObject *object, 1370s # guint prop_id, 1370s # const GValue *value, 1370s # GParamSpec *pspec) 1370s # { 1370s # const _ExtendedGDBusPropertyInfo *info; 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1370s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # g_object_freeze_notify (object); 1370s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1370s # { 1370s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1370s # info->emits_changed_signal) 1370s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1370s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1370s # g_object_notify_by_pspec (object, pspec); 1370s # } 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # g_object_thaw_notify (object); 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1370s # { 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1370s # #else 1370s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1370s # #endif 1370s # 1370s # g_mutex_init (&skeleton->priv->lock); 1370s # skeleton->priv->context = g_main_context_ref_thread_default (); 1370s # skeleton->priv->properties = g_new0 (GValue, 1); 1370s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1370s # } 1370s # 1370s # static const gchar * 1370s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1370s # { 1370s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1370s # const gchar *value; 1370s # g_mutex_lock (&skeleton->priv->lock); 1370s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1370s # g_mutex_unlock (&skeleton->priv->lock); 1370s # return value; 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1370s # { 1370s # GObjectClass *gobject_class; 1370s # GDBusInterfaceSkeletonClass *skeleton_class; 1370s # 1370s # gobject_class = G_OBJECT_CLASS (klass); 1370s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1370s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1370s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1370s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1370s # 1370s # 1370s # com_acme_coyote_override_properties (gobject_class, 1); 1370s # 1370s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1370s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1370s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1370s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1370s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1370s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1370s # #endif 1370s # } 1370s # 1370s # static void 1370s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1370s # { 1370s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1370s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1370s # } 1370s # 1370s # /** 1370s # * com_acme_coyote_skeleton_new: 1370s # * 1370s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1370s # * 1370s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1370s # */ 1370s # ComAcmeCoyote * 1370s # com_acme_coyote_skeleton_new (void) 1370s # { 1370s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1370s # } 1370s # 1370s # /* ------------------------------------------------------------------------ 1370s # * Code for interface org.project.Bar.Frobnicator 1370s # * ------------------------------------------------------------------------ 1370s # */ 1370s # 1370s # /** 1370s # * SECTION:OrgProjectBarFrobnicator 1370s # * @title: OrgProjectBarFrobnicator 1370s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1370s # * 1370s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1370s # */ 1370s # 1370s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1370s # 1370s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "RandomMethod", 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "handle-random-method", 1370s # FALSE 1370s # }; 1370s # 1370s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1370s # { 1370s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1370s # NULL 1370s # }; 1370s # 1370s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1370s # { 1370s # { 1370s # -1, 1370s # (gchar *) "org.project.Bar.Frobnicator", 1370s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1370s # NULL, 1370s # NULL, 1370s # NULL 1370s # }, 1370s # "org-project-bar-frobnicator", 1370s # }; 1370s # 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_interface_info: 1370s # * 1370s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1370s # * 1370s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1370s # */ 1370s # GDBusInterfaceInfo * 1370s # org_project_bar_frobnicator_interface_info (void) 1370s # { 1370s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_override_properties: 1370s # * @klass: The class structure for a #GObject derived class. 1370s # * @property_id_begin: The property id to assign to the first overridden property. 1370s # * 1370s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1370s # * The properties are overridden in the order they are defined. 1370s # * 1370s # * Returns: The last property id. 1370s # */ 1370s # guint 1370s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1370s # { 1370s # return property_id_begin - 1; 1370s # } 1370s # 1370s # 1370s # inline static void 1370s # org_project_bar_frobnicator_method_marshal_random_method ( 1370s # GClosure *closure, 1370s # GValue *return_value, 1370s # unsigned int n_param_values, 1370s # const GValue *param_values, 1370s # void *invocation_hint, 1370s # void *marshal_data) 1370s # { 1370s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1370s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1370s # } 1370s # 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicator: 1370s # * 1370s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1370s # */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorIface: 1370s # * @parent_iface: The parent interface. 1370s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1370s # * 1370s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1370s # */ 1370s # 1370s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1370s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1370s # { 1370s # /* GObject signals for incoming D-Bus method calls: */ 1370s # /** 1370s # * OrgProjectBarFrobnicator::handle-random-method: 1370s # * @object: A #OrgProjectBarFrobnicator. 1370s # * @invocation: A #GDBusMethodInvocation. 1370s # * 1370s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1370s # * 1370s # * 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. 1370s # * 1370s # * 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. 1370s # */ 1370s # g_signal_new ("handle-random-method", 1370s # G_TYPE_FROM_INTERFACE (iface), 1370s # G_SIGNAL_RUN_LAST, 1370s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1370s # g_signal_accumulator_true_handled, 1370s # NULL, 1370s # org_project_bar_frobnicator_method_marshal_random_method, 1370s # G_TYPE_BOOLEAN, 1370s # 1, 1370s # G_TYPE_DBUS_METHOD_INVOCATION); 1370s # 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_call_random_method: 1370s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1370s # * 1370s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1370s # */ 1370s # void 1370s # org_project_bar_frobnicator_call_random_method ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1370s # "RandomMethod", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # callback, 1370s # user_data); 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_call_random_method_finish: 1370s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # org_project_bar_frobnicator_call_random_method_finish ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_call_random_method_sync: 1370s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL. 1370s # * 1370s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1370s # * 1370s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1370s # * 1370s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1370s # */ 1370s # gboolean 1370s # org_project_bar_frobnicator_call_random_method_sync ( 1370s # OrgProjectBarFrobnicator *proxy, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GVariant *_ret; 1370s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1370s # "RandomMethod", 1370s # g_variant_new ("()"), 1370s # G_DBUS_CALL_FLAGS_NONE, 1370s # -1, 1370s # cancellable, 1370s # error); 1370s # if (_ret == NULL) 1370s # goto _out; 1370s # g_variant_get (_ret, 1370s # "()"); 1370s # g_variant_unref (_ret); 1370s # _out: 1370s # return _ret != NULL; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_complete_random_method: 1370s # * @object: A #OrgProjectBarFrobnicator. 1370s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1370s # * 1370s # * 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. 1370s # * 1370s # * This method will free @invocation, you cannot use it afterwards. 1370s # */ 1370s # void 1370s # org_project_bar_frobnicator_complete_random_method ( 1370s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1370s # GDBusMethodInvocation *invocation) 1370s # { 1370s # g_dbus_method_invocation_return_value (invocation, 1370s # g_variant_new ("()")); 1370s # } 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorProxy: 1370s # * 1370s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1370s # */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorProxyClass: 1370s # * @parent_class: The parent class. 1370s # * 1370s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1370s # */ 1370s # 1370s # struct _OrgProjectBarFrobnicatorProxyPrivate 1370s # { 1370s # GData *qdata; 1370s # }; 1370s # 1370s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1370s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1370s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1370s # 1370s # #else 1370s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1370s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1370s # 1370s # #endif 1370s # static void 1370s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1370s # { 1370s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1370s # g_datalist_clear (&proxy->priv->qdata); 1370s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1370s # guint prop_id G_GNUC_UNUSED, 1370s # GValue *value G_GNUC_UNUSED, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1370s # guint prop_id G_GNUC_UNUSED, 1370s # const GValue *value G_GNUC_UNUSED, 1370s # GParamSpec *pspec G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1370s # const gchar *sender_name G_GNUC_UNUSED, 1370s # const gchar *signal_name, 1370s # GVariant *parameters) 1370s # { 1370s # _ExtendedGDBusSignalInfo *info; 1370s # GVariantIter iter; 1370s # GVariant *child; 1370s # GValue *paramv; 1370s # gsize num_params; 1370s # gsize n; 1370s # guint signal_id; 1370s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1370s # if (info == NULL) 1370s # return; 1370s # num_params = g_variant_n_children (parameters); 1370s # paramv = g_new0 (GValue, num_params + 1); 1370s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1370s # g_value_set_object (¶mv[0], proxy); 1370s # g_variant_iter_init (&iter, parameters); 1370s # n = 1; 1370s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1370s # { 1370s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1370s # if (arg_info->use_gvariant) 1370s # { 1370s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1370s # g_value_set_variant (¶mv[n], child); 1370s # n++; 1370s # } 1370s # else 1370s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1370s # g_variant_unref (child); 1370s # } 1370s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1370s # g_signal_emitv (paramv, signal_id, 0, NULL); 1370s # for (n = 0; n < num_params + 1; n++) 1370s # g_value_unset (¶mv[n]); 1370s # g_free (paramv); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1370s # GVariant *changed_properties, 1370s # const gchar *const *invalidated_properties) 1370s # { 1370s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1370s # guint n; 1370s # const gchar *key; 1370s # GVariantIter *iter; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # g_variant_get (changed_properties, "a{sv}", &iter); 1370s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1370s # { 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1370s # g_datalist_remove_data (&proxy->priv->qdata, key); 1370s # if (info != NULL) 1370s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1370s # } 1370s # g_variant_iter_free (iter); 1370s # for (n = 0; invalidated_properties[n] != NULL; n++) 1370s # { 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1370s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1370s # if (info != NULL) 1370s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1370s # } 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1370s # { 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1370s # #else 1370s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1370s # #endif 1370s # 1370s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1370s # { 1370s # GObjectClass *gobject_class; 1370s # GDBusProxyClass *proxy_class; 1370s # 1370s # gobject_class = G_OBJECT_CLASS (klass); 1370s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1370s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1370s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1370s # 1370s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1370s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1370s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1370s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1370s # #endif 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new: 1370s # * @connection: A #GDBusConnection. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1370s # * 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1370s # * 1370s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1370s # */ 1370s # void 1370s # org_project_bar_frobnicator_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # 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); 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_finish: 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GObject *ret; 1370s # GObject *source_object; 1370s # source_object = g_async_result_get_source_object (res); 1370s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1370s # g_object_unref (source_object); 1370s # if (ret != NULL) 1370s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_sync: 1370s # * @connection: A #GDBusConnection. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1370s # * 1370s # * The calling thread is blocked until a reply is received. 1370s # * 1370s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GInitable *ret; 1370s # 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); 1370s # if (ret != NULL) 1370s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_for_bus: 1370s # * @bus_type: A #GBusType. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: A bus name (well-known or unique). 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1370s # * @user_data: User data to pass to @callback. 1370s # * 1370s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1370s # * 1370s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1370s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1370s # * 1370s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1370s # */ 1370s # void 1370s # org_project_bar_frobnicator_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data) 1370s # { 1370s # 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); 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1370s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error) 1370s # { 1370s # GObject *ret; 1370s # GObject *source_object; 1370s # source_object = g_async_result_get_source_object (res); 1370s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1370s # g_object_unref (source_object); 1370s # if (ret != NULL) 1370s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1370s # * @bus_type: A #GBusType. 1370s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1370s # * @name: A bus name (well-known or unique). 1370s # * @object_path: An object path. 1370s # * @cancellable: (nullable): A #GCancellable or %NULL. 1370s # * @error: Return location for error or %NULL 1370s # * 1370s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1370s # * 1370s # * The calling thread is blocked until a reply is received. 1370s # * 1370s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error) 1370s # { 1370s # GInitable *ret; 1370s # 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); 1370s # if (ret != NULL) 1370s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1370s # else 1370s # return NULL; 1370s # } 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorSkeleton: 1370s # * 1370s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1370s # */ 1370s # 1370s # /** 1370s # * OrgProjectBarFrobnicatorSkeletonClass: 1370s # * @parent_class: The parent class. 1370s # * 1370s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1370s # */ 1370s # 1370s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1370s # { 1370s # GValue *properties; 1370s # GList *changed_properties; 1370s # GSource *changed_properties_idle_source; 1370s # GMainContext *context; 1370s # GMutex lock; 1370s # }; 1370s # 1370s # static void 1370s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name, 1370s # const gchar *method_name, 1370s # GVariant *parameters, 1370s # GDBusMethodInvocation *invocation, 1370s # gpointer user_data) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1370s # _ExtendedGDBusMethodInfo *info; 1370s # GVariantIter iter; 1370s # GVariant *child; 1370s # GValue *paramv; 1370s # gsize num_params; 1370s # guint num_extra; 1370s # gsize n; 1370s # guint signal_id; 1370s # GValue return_value = G_VALUE_INIT; 1370s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1370s # g_assert (info != NULL); 1370s # num_params = g_variant_n_children (parameters); 1370s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1370s # n = 0; 1370s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1370s # g_value_set_object (¶mv[n++], skeleton); 1370s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1370s # g_value_set_object (¶mv[n++], invocation); 1370s # if (info->pass_fdlist) 1370s # { 1370s # #ifdef G_OS_UNIX 1370s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1370s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1370s # #else 1370s # g_assert_not_reached (); 1370s # #endif 1370s # } 1370s # g_variant_iter_init (&iter, parameters); 1370s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1370s # { 1370s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1370s # if (arg_info->use_gvariant) 1370s # { 1370s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1370s # g_value_set_variant (¶mv[n], child); 1370s # n++; 1370s # } 1370s # else 1370s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1370s # g_variant_unref (child); 1370s # } 1370s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1370s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1370s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1370s # if (!g_value_get_boolean (&return_value)) 1370s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1370s # g_value_unset (&return_value); 1370s # for (n = 0; n < num_params + num_extra; n++) 1370s # g_value_unset (¶mv[n]); 1370s # g_free (paramv); 1370s # } 1370s # 1370s # static GVariant * 1370s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name G_GNUC_UNUSED, 1370s # const gchar *property_name, 1370s # GError **error, 1370s # gpointer user_data) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1370s # GValue value = G_VALUE_INIT; 1370s # GParamSpec *pspec; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # GVariant *ret; 1370s # ret = NULL; 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1370s # g_assert (info != NULL); 1370s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1370s # if (pspec == NULL) 1370s # { 1370s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1370s # } 1370s # else 1370s # { 1370s # g_value_init (&value, pspec->value_type); 1370s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1370s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1370s # g_value_unset (&value); 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static gboolean 1370s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1370s # GDBusConnection *connection G_GNUC_UNUSED, 1370s # const gchar *sender G_GNUC_UNUSED, 1370s # const gchar *object_path G_GNUC_UNUSED, 1370s # const gchar *interface_name G_GNUC_UNUSED, 1370s # const gchar *property_name, 1370s # GVariant *variant, 1370s # GError **error, 1370s # gpointer user_data) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1370s # GValue value = G_VALUE_INIT; 1370s # GParamSpec *pspec; 1370s # _ExtendedGDBusPropertyInfo *info; 1370s # gboolean ret; 1370s # ret = FALSE; 1370s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1370s # g_assert (info != NULL); 1370s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1370s # if (pspec == NULL) 1370s # { 1370s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1370s # } 1370s # else 1370s # { 1370s # if (info->use_gvariant) 1370s # g_value_set_variant (&value, variant); 1370s # else 1370s # g_dbus_gvariant_to_gvalue (variant, &value); 1370s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1370s # g_value_unset (&value); 1370s # ret = TRUE; 1370s # } 1370s # return ret; 1370s # } 1370s # 1370s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1370s # { 1370s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1370s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1370s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1370s # {NULL} 1370s # }; 1370s # 1370s # static GDBusInterfaceInfo * 1370s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1370s # { 1370s # return org_project_bar_frobnicator_interface_info (); 1370s # } 1370s # 1370s # static GDBusInterfaceVTable * 1370s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1370s # { 1370s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1370s # } 1370s # 1370s # static GVariant * 1370s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1370s # 1370s # GVariantBuilder builder; 1370s # guint n; 1370s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1370s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1370s # goto out; 1370s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1370s # { 1370s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1370s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1370s # { 1370s # GVariant *value; 1370s # 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); 1370s # if (value != NULL) 1370s # { 1370s # g_variant_take_ref (value); 1370s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1370s # g_variant_unref (value); 1370s # } 1370s # } 1370s # } 1370s # out: 1370s # return g_variant_builder_end (&builder); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1370s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1370s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1370s # 1370s # #else 1370s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1370s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1370s # 1370s # #endif 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1370s # { 1370s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1370s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1370s # if (skeleton->priv->changed_properties_idle_source != NULL) 1370s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1370s # g_main_context_unref (skeleton->priv->context); 1370s # g_mutex_clear (&skeleton->priv->lock); 1370s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1370s # { 1370s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1370s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1370s # #else 1370s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1370s # #endif 1370s # 1370s # g_mutex_init (&skeleton->priv->lock); 1370s # skeleton->priv->context = g_main_context_ref_thread_default (); 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1370s # { 1370s # GObjectClass *gobject_class; 1370s # GDBusInterfaceSkeletonClass *skeleton_class; 1370s # 1370s # gobject_class = G_OBJECT_CLASS (klass); 1370s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1370s # 1370s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1370s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1370s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1370s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1370s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1370s # 1370s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1370s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1370s # #endif 1370s # } 1370s # 1370s # static void 1370s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1370s # { 1370s # } 1370s # 1370s # /** 1370s # * org_project_bar_frobnicator_skeleton_new: 1370s # * 1370s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1370s # * 1370s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1370s # */ 1370s # OrgProjectBarFrobnicator * 1370s # org_project_bar_frobnicator_skeleton_new (void) 1370s # { 1370s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1370s # } 1370s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1370s # tmpdir: /tmp/tmps4_llx3v 1370s # codegen: /usr/bin/gdbus-codegen 1370s # /tmp/tmps4_llx3v/tmpzq89ly3r.xml: 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4_llx3v/tmpzq89ly3r.xml', '--output', '-', '--header'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifndef __STDOUT__ 1370s # #define __STDOUT__ 1370s # 1370s # #include 1370s # 1370s # G_BEGIN_DECLS 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # /* Declarations for FDPassing */ 1370s # 1370s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1370s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1370s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1370s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1370s # 1370s # struct _FDPassing; 1370s # typedef struct _FDPassing FDPassing; 1370s # typedef struct _FDPassingIface FDPassingIface; 1370s # 1370s # struct _FDPassingIface 1370s # { 1370s # GTypeInterface parent_iface; 1370s # 1370s # gboolean (*handle_hello_fd) ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list, 1370s # const gchar *arg_greeting); 1370s # 1370s # gboolean (*handle_no_annotation) ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GVariant *arg_greeting, 1370s # const gchar *arg_greeting_locale); 1370s # 1370s # gboolean (*handle_no_annotation_nested) ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GVariant *arg_files); 1370s # 1370s # }; 1370s # 1370s # GType fdpassing_get_type (void) G_GNUC_CONST; 1370s # 1370s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1370s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1370s # 1370s # 1370s # /* D-Bus method call completion functions: */ 1370s # void fdpassing_complete_hello_fd ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list, 1370s # const gchar *response); 1370s # 1370s # void fdpassing_complete_no_annotation ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GVariant *response, 1370s # const gchar *response_locale); 1370s # 1370s # void fdpassing_complete_no_annotation_nested ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # 1370s # 1370s # /* D-Bus method calls: */ 1370s # void fdpassing_call_hello_fd ( 1370s # FDPassing *proxy, 1370s # const gchar *arg_greeting, 1370s # GUnixFDList *fd_list, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean fdpassing_call_hello_fd_finish ( 1370s # FDPassing *proxy, 1370s # gchar **out_response, 1370s # GUnixFDList **out_fd_list, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean fdpassing_call_hello_fd_sync ( 1370s # FDPassing *proxy, 1370s # const gchar *arg_greeting, 1370s # GUnixFDList *fd_list, 1370s # gchar **out_response, 1370s # GUnixFDList **out_fd_list, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void fdpassing_call_no_annotation ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_greeting, 1370s # const gchar *arg_greeting_locale, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean fdpassing_call_no_annotation_finish ( 1370s # FDPassing *proxy, 1370s # GVariant **out_response, 1370s # gchar **out_response_locale, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean fdpassing_call_no_annotation_sync ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_greeting, 1370s # const gchar *arg_greeting_locale, 1370s # GVariant **out_response, 1370s # gchar **out_response_locale, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void fdpassing_call_no_annotation_nested ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_files, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean fdpassing_call_no_annotation_nested_finish ( 1370s # FDPassing *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean fdpassing_call_no_annotation_nested_sync ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_files, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1370s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1370s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1370s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1370s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1370s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1370s # 1370s # typedef struct _FDPassingProxy FDPassingProxy; 1370s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1370s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1370s # 1370s # struct _FDPassingProxy 1370s # { 1370s # /*< private >*/ 1370s # GDBusProxy parent_instance; 1370s # FDPassingProxyPrivate *priv; 1370s # }; 1370s # 1370s # struct _FDPassingProxyClass 1370s # { 1370s # GDBusProxyClass parent_class; 1370s # }; 1370s # 1370s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1370s # #endif 1370s # 1370s # void fdpassing_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # FDPassing *fdpassing_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # FDPassing *fdpassing_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void fdpassing_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1370s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1370s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1370s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1370s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1370s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1370s # 1370s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1370s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1370s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1370s # 1370s # struct _FDPassingSkeleton 1370s # { 1370s # /*< private >*/ 1370s # GDBusInterfaceSkeleton parent_instance; 1370s # FDPassingSkeletonPrivate *priv; 1370s # }; 1370s # 1370s # struct _FDPassingSkeletonClass 1370s # { 1370s # GDBusInterfaceSkeletonClass parent_class; 1370s # }; 1370s # 1370s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1370s # #endif 1370s # 1370s # FDPassing *fdpassing_skeleton_new (void); 1370s # 1370s # 1370s # G_END_DECLS 1370s # 1370s # #endif /* __STDOUT__ */ 1370s # /tmp/tmps4_llx3v/tmpkpxyifgh.xml: 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4_llx3v/tmpkpxyifgh.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifndef __STDOUT__ 1370s # #define __STDOUT__ 1370s # 1370s # #include 1370s # 1370s # G_BEGIN_DECLS 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # /* Declarations for FDPassing */ 1370s # 1370s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1370s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1370s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1370s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1370s # 1370s # struct _FDPassing; 1370s # typedef struct _FDPassing FDPassing; 1370s # typedef struct _FDPassingIface FDPassingIface; 1370s # 1370s # struct _FDPassingIface 1370s # { 1370s # GTypeInterface parent_iface; 1370s # 1370s # gboolean (*handle_hello_fd) ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list, 1370s # const gchar *arg_greeting); 1370s # 1370s # gboolean (*handle_no_annotation) ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GVariant *arg_greeting, 1370s # const gchar *arg_greeting_locale); 1370s # 1370s # gboolean (*handle_no_annotation_nested) ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GVariant *arg_files); 1370s # 1370s # }; 1370s # 1370s # GType fdpassing_get_type (void) G_GNUC_CONST; 1370s # 1370s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1370s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1370s # 1370s # 1370s # /* D-Bus method call completion functions: */ 1370s # void fdpassing_complete_hello_fd ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list, 1370s # const gchar *response); 1370s # 1370s # void fdpassing_complete_no_annotation ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GVariant *response, 1370s # const gchar *response_locale); 1370s # 1370s # void fdpassing_complete_no_annotation_nested ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation); 1370s # 1370s # 1370s # 1370s # /* D-Bus method calls: */ 1370s # void fdpassing_call_hello_fd ( 1370s # FDPassing *proxy, 1370s # const gchar *arg_greeting, 1370s # GUnixFDList *fd_list, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean fdpassing_call_hello_fd_finish ( 1370s # FDPassing *proxy, 1370s # gchar **out_response, 1370s # GUnixFDList **out_fd_list, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean fdpassing_call_hello_fd_sync ( 1370s # FDPassing *proxy, 1370s # const gchar *arg_greeting, 1370s # GUnixFDList *fd_list, 1370s # gchar **out_response, 1370s # GUnixFDList **out_fd_list, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void fdpassing_call_no_annotation ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_greeting, 1370s # const gchar *arg_greeting_locale, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean fdpassing_call_no_annotation_finish ( 1370s # FDPassing *proxy, 1370s # GVariant **out_response, 1370s # gchar **out_response_locale, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean fdpassing_call_no_annotation_sync ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_greeting, 1370s # const gchar *arg_greeting_locale, 1370s # GVariant **out_response, 1370s # gchar **out_response_locale, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void fdpassing_call_no_annotation_nested ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_files, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean fdpassing_call_no_annotation_nested_finish ( 1370s # FDPassing *proxy, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean fdpassing_call_no_annotation_nested_sync ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_files, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1370s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1370s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1370s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1370s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1370s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1370s # 1370s # typedef struct _FDPassingProxy FDPassingProxy; 1370s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1370s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1370s # 1370s # struct _FDPassingProxy 1370s # { 1370s # /*< private >*/ 1370s # GDBusProxy parent_instance; 1370s # FDPassingProxyPrivate *priv; 1370s # }; 1370s # 1370s # struct _FDPassingProxyClass 1370s # { 1370s # GDBusProxyClass parent_class; 1370s # }; 1370s # 1370s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1370s # #endif 1370s # 1370s # void fdpassing_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # FDPassing *fdpassing_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # FDPassing *fdpassing_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void fdpassing_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1370s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1370s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1370s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1370s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1370s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1370s # 1370s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1370s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1370s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1370s # 1370s # struct _FDPassingSkeleton 1370s # { 1370s # /*< private >*/ 1370s # GDBusInterfaceSkeleton parent_instance; 1370s # FDPassingSkeletonPrivate *priv; 1370s # }; 1370s # 1370s # struct _FDPassingSkeletonClass 1370s # { 1370s # GDBusInterfaceSkeletonClass parent_class; 1370s # }; 1370s # 1370s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1370s # #endif 1370s # 1370s # FDPassing *fdpassing_skeleton_new (void); 1370s # 1370s # 1370s # G_END_DECLS 1370s # 1370s # #endif /* __STDOUT__ */ 1370s # /tmp/tmps4_llx3v/tmpl0buzm93.xml: 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # 1370s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4_llx3v/tmpl0buzm93.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1370s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1370s # Output: /* 1370s # * This file is generated by gdbus-codegen, do not modify it. 1370s # * 1370s # * The license of this code is the same as for the D-Bus interface description 1370s # * it was derived from. Note that it links to GLib, so must comply with the 1370s # * LGPL linking clauses. 1370s # */ 1370s # 1370s # #ifndef __STDOUT__ 1370s # #define __STDOUT__ 1370s # 1370s # #include 1370s # 1370s # G_BEGIN_DECLS 1370s # 1370s # 1370s # /* ------------------------------------------------------------------------ */ 1370s # /* Declarations for FDPassing */ 1370s # 1370s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1370s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1370s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1370s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1370s # 1370s # struct _FDPassing; 1370s # typedef struct _FDPassing FDPassing; 1370s # typedef struct _FDPassingIface FDPassingIface; 1370s # 1370s # struct _FDPassingIface 1370s # { 1370s # GTypeInterface parent_iface; 1370s # 1370s # gboolean (*handle_hello_fd) ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list, 1370s # const gchar *arg_greeting); 1370s # 1370s # gboolean (*handle_no_annotation) ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list, 1370s # GVariant *arg_greeting, 1370s # const gchar *arg_greeting_locale); 1370s # 1370s # gboolean (*handle_no_annotation_nested) ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list, 1370s # GVariant *arg_files); 1370s # 1370s # }; 1370s # 1370s # GType fdpassing_get_type (void) G_GNUC_CONST; 1370s # 1370s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1370s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1370s # 1370s # 1370s # /* D-Bus method call completion functions: */ 1370s # void fdpassing_complete_hello_fd ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list, 1370s # const gchar *response); 1370s # 1370s # void fdpassing_complete_no_annotation ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list, 1370s # GVariant *response, 1370s # const gchar *response_locale); 1370s # 1370s # void fdpassing_complete_no_annotation_nested ( 1370s # FDPassing *object, 1370s # GDBusMethodInvocation *invocation, 1370s # GUnixFDList *fd_list); 1370s # 1370s # 1370s # 1370s # /* D-Bus method calls: */ 1370s # void fdpassing_call_hello_fd ( 1370s # FDPassing *proxy, 1370s # const gchar *arg_greeting, 1370s # GDBusCallFlags call_flags, 1370s # gint timeout_msec, 1370s # GUnixFDList *fd_list, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean fdpassing_call_hello_fd_finish ( 1370s # FDPassing *proxy, 1370s # gchar **out_response, 1370s # GUnixFDList **out_fd_list, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean fdpassing_call_hello_fd_sync ( 1370s # FDPassing *proxy, 1370s # const gchar *arg_greeting, 1370s # GDBusCallFlags call_flags, 1370s # gint timeout_msec, 1370s # GUnixFDList *fd_list, 1370s # gchar **out_response, 1370s # GUnixFDList **out_fd_list, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void fdpassing_call_no_annotation ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_greeting, 1370s # const gchar *arg_greeting_locale, 1370s # GDBusCallFlags call_flags, 1370s # gint timeout_msec, 1370s # GUnixFDList *fd_list, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean fdpassing_call_no_annotation_finish ( 1370s # FDPassing *proxy, 1370s # GVariant **out_response, 1370s # gchar **out_response_locale, 1370s # GUnixFDList **out_fd_list, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean fdpassing_call_no_annotation_sync ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_greeting, 1370s # const gchar *arg_greeting_locale, 1370s # GDBusCallFlags call_flags, 1370s # gint timeout_msec, 1370s # GUnixFDList *fd_list, 1370s # GVariant **out_response, 1370s # gchar **out_response_locale, 1370s # GUnixFDList **out_fd_list, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void fdpassing_call_no_annotation_nested ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_files, 1370s # GDBusCallFlags call_flags, 1370s # gint timeout_msec, 1370s # GUnixFDList *fd_list, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # 1370s # gboolean fdpassing_call_no_annotation_nested_finish ( 1370s # FDPassing *proxy, 1370s # GUnixFDList **out_fd_list, 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # 1370s # gboolean fdpassing_call_no_annotation_nested_sync ( 1370s # FDPassing *proxy, 1370s # GVariant *arg_files, 1370s # GDBusCallFlags call_flags, 1370s # gint timeout_msec, 1370s # GUnixFDList *fd_list, 1370s # GUnixFDList **out_fd_list, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1370s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1370s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1370s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1370s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1370s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1370s # 1370s # typedef struct _FDPassingProxy FDPassingProxy; 1370s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1370s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1370s # 1370s # struct _FDPassingProxy 1370s # { 1370s # /*< private >*/ 1370s # GDBusProxy parent_instance; 1370s # FDPassingProxyPrivate *priv; 1370s # }; 1370s # 1370s # struct _FDPassingProxyClass 1370s # { 1370s # GDBusProxyClass parent_class; 1370s # }; 1370s # 1370s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1370s # #endif 1370s # 1370s # void fdpassing_proxy_new ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # FDPassing *fdpassing_proxy_new_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # FDPassing *fdpassing_proxy_new_sync ( 1370s # GDBusConnection *connection, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # void fdpassing_proxy_new_for_bus ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GAsyncReadyCallback callback, 1370s # gpointer user_data); 1370s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1370s # GAsyncResult *res, 1370s # GError **error); 1370s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1370s # GBusType bus_type, 1370s # GDBusProxyFlags flags, 1370s # const gchar *name, 1370s # const gchar *object_path, 1370s # GCancellable *cancellable, 1370s # GError **error); 1370s # 1370s # 1370s # /* ---- */ 1370s # 1370s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1370s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1370s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1370s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1370s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1370s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1370s # 1370s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1370s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1370s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1370s # 1370s # struct _FDPassingSkeleton 1370s # { 1370s # /*< private >*/ 1370s # GDBusInterfaceSkeleton parent_instance; 1370s # FDPassingSkeletonPrivate *priv; 1370s # }; 1370s # 1370s # struct _FDPassingSkeletonClass 1370s # { 1370s # GDBusInterfaceSkeletonClass parent_class; 1370s # }; 1370s # 1370s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1370s # 1370s # #if GLIB_CHECK_VERSION(2, 44, 0) 1370s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1370s # #endif 1370s # 1370s # FDPassing *fdpassing_skeleton_new (void); 1370s # 1370s # 1370s # G_END_DECLS 1370s # 1370s # #endif /* __STDOUT__ */ 1370s 1..39 1370s ok - glib/codegen.py.test 1370s # Running test: glib/network-address.test 1370s TAP version 14 1370s # random seed: R02Scc8f48d9f4b2160c78c521187d549e45 1370s 1..72 1370s # Start of network-address tests 1370s ok 1 /network-address/basic 1370s ok 2 /network-address/scope-id 1370s ok 3 /network-address/uri-scope-id 1370s ok 4 /network-address/to-string 1370s # Start of parse-host tests 1370s ok 5 /network-address/parse-host/0 1370s ok 6 /network-address/parse-host/1 1370s ok 7 /network-address/parse-host/2 1370s ok 8 /network-address/parse-host/3 1370s ok 9 /network-address/parse-host/4 1370s ok 10 /network-address/parse-host/5 1370s ok 11 /network-address/parse-host/6 1370s ok 12 /network-address/parse-host/7 1370s ok 13 /network-address/parse-host/8 1370s ok 14 /network-address/parse-host/9 1370s ok 15 /network-address/parse-host/10 1370s ok 16 /network-address/parse-host/11 1370s ok 17 /network-address/parse-host/12 1370s ok 18 /network-address/parse-host/13 1370s # End of parse-host tests 1370s # Start of parse-uri tests 1370s ok 19 /network-address/parse-uri/0 1370s ok 20 /network-address/parse-uri/1 1370s ok 21 /network-address/parse-uri/2 1370s ok 22 /network-address/parse-uri/3 1370s ok 23 /network-address/parse-uri/4 1370s ok 24 /network-address/parse-uri/5 1370s ok 25 /network-address/parse-uri/6 1370s ok 26 /network-address/parse-uri/7 1370s ok 27 /network-address/parse-uri/8 1370s ok 28 /network-address/parse-uri/9 1370s # End of parse-uri tests 1370s # Start of resolve-address tests 1370s # Input: 192.168.1.2 1370s ok 29 /network-address/resolve-address/0 1370s # Input: fe80::42 1370s ok 30 /network-address/resolve-address/1 1370s # Input: 192.168.1.2:80 1370s ok 31 /network-address/resolve-address/2 1370s # Input: [fe80::42] 1370s ok 32 /network-address/resolve-address/3 1370s # Input: [fe80::42]:80 1370s ok 33 /network-address/resolve-address/4 1370s # Input: 192.168.258 1370s ok 34 /network-address/resolve-address/5 1370s # Input: 192.11010306 1370s ok 35 /network-address/resolve-address/6 1370s # Input: 3232235778 1370s ok 36 /network-address/resolve-address/7 1370s # Input: 0300.0250.0001.0001 1370s ok 37 /network-address/resolve-address/8 1370s # Input: 0xC0.0xA8.0x01.0x02 1370s ok 38 /network-address/resolve-address/9 1370s # Input: 0xc0.0xa8.0x01.0x02 1370s ok 39 /network-address/resolve-address/10 1370s # Input: 0xc0a80102 1370s ok 40 /network-address/resolve-address/11 1370s # End of resolve-address tests 1370s # Start of loopback tests 1370s ok 41 /network-address/loopback/basic 1370s ok 42 /network-address/loopback/sync 1370s ok 43 /network-address/loopback/async 1370s # End of loopback tests 1370s # Start of localhost tests 1370s ok 44 /network-address/localhost/async 1370s ok 45 /network-address/localhost/sync 1370s # End of localhost tests 1370s # Start of happy-eyeballs tests 1370s ok 46 /network-address/happy-eyeballs/basic 1371s ok 47 /network-address/happy-eyeballs/parallel 1371s ok 48 /network-address/happy-eyeballs/slow-ipv4 1371s ok 49 /network-address/happy-eyeballs/slow-ipv6 1371s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1372s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1372s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1372s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1372s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1372s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1372s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1372s # /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. 1372s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1372s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1372s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1372s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1372s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1372s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1372s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1372s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1372s ok 57 /network-address/happy-eyeballs/both-error 1372s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1372s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1372s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1372s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1372s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1372s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1372s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1372s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1372s # End of happy-eyeballs tests 1372s # End of network-address tests 1372s # Start of gresolver tests 1372s # Start of resolve-address tests 1372s # Input: 192.168.1.2 1372s ok 61 /gresolver/resolve-address/0 1372s # Input: fe80::42 1372s ok 62 /gresolver/resolve-address/1 1372s # Input: 192.168.1.2:80 1372s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1372s ok 63 /gresolver/resolve-address/2 1372s # Input: [fe80::42] 1372s # Error: Error resolving ?[fe80::42]?: Name or service not known 1372s ok 64 /gresolver/resolve-address/3 1372s # Input: [fe80::42]:80 1372s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1372s ok 65 /gresolver/resolve-address/4 1372s # Input: 192.168.258 1372s # Error: Error resolving ?192.168.258?: Name or service not known 1372s ok 66 /gresolver/resolve-address/5 1372s # Input: 192.11010306 1372s # Error: Error resolving ?192.11010306?: Name or service not known 1372s ok 67 /gresolver/resolve-address/6 1372s # Input: 3232235778 1372s # Error: Error resolving ?3232235778?: Name or service not known 1372s ok 68 /gresolver/resolve-address/7 1372s # Input: 0300.0250.0001.0001 1372s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1372s ok 69 /gresolver/resolve-address/8 1372s # Input: 0xC0.0xA8.0x01.0x02 1372s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1372s ok 70 /gresolver/resolve-address/9 1372s # Input: 0xc0.0xa8.0x01.0x02 1372s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1372s ok 71 /gresolver/resolve-address/10 1372s # Input: 0xc0a80102 1372s # Error: Error resolving ?0xc0a80102?: Name or service not known 1372s ok 72 /gresolver/resolve-address/11 1372s # End of resolve-address tests 1372s # End of gresolver tests 1372s ok - glib/network-address.test 1372s # Running test: glib/gdbus-error.test 1372s TAP version 14 1372s # random seed: R02S210889ef400e0a9f1c11c8b54c563c16 1372s 1..4 1372s # Start of gdbus tests 1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/home 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/cache 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/system-config2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/config 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/system-data2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/data 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/state 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_P0W0Z2/gdbus/registered-errors/.dirs/runtime 1372s ok 1 /gdbus/registered-errors 1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/home 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/cache 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/system-config2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/config 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/system-data2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/data 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/state 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_P0W0Z2/gdbus/unregistered-errors/.dirs/runtime 1372s ok 2 /gdbus/unregistered-errors 1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/home 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/cache 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/system-config2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/config 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/system-data2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/data 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/state 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_P0W0Z2/gdbus/transparent-gerror/.dirs/runtime 1372s ok 3 /gdbus/transparent-gerror 1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/home 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/cache 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/system-config2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/config 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/system-data2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/data 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/state 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_P0W0Z2/gdbus/register-error/.dirs/runtime 1372s ok 4 /gdbus/register-error 1372s # End of gdbus tests 1372s ok - glib/gdbus-error.test 1372s # Running test: glib/power-profile-monitor-portal.test 1373s TAP version 13 1373s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1373s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1373s 1..2 1373s ok - glib/power-profile-monitor-portal.test 1373s # Running test: glib/hash.test 1373s TAP version 14 1373s # random seed: R02Sce9269e33062ee0f87ea559b1b2a90ac 1373s 1..34 1373s # Start of hash tests 1373s ok 1 /hash/misc 1373s ok 2 /hash/one 1373s ok 3 /hash/honeyman 1373s ok 4 /hash/direct 1373s ok 5 /hash/direct2 1373s ok 6 /hash/int 1373s ok 7 /hash/int64 1373s ok 8 /hash/double 1373s ok 9 /hash/string 1373s ok 10 /hash/set 1373s ok 11 /hash/set-ref 1373s ok 12 /hash/ref 1373s ok 13 /hash/remove-all 1373s ok 14 /hash/recursive-remove-all 1373s ok 15 /hash/find 1373s ok 16 /hash/foreach 1373s ok 17 /hash/foreach-steal 1373s ok 18 /hash/steal-extended 1373s ok 19 /hash/steal-all-keys 1373s ok 20 /hash/steal-all-values 1373s ok 21 /hash/lookup-extended 1373s ok 22 /hash/new-similar 1373s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1373s ok 23 /hash/lookup-null-key 1373s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1373s ok 24 /hash/destroy-modify 1373s ok 25 /hash/consistency 1373s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1373s ok 26 /hash/iter-replace 1373s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1373s ok 27 /hash/set-insert-corruption 1373s ok 28 /hash/set-to-strv 1373s ok 29 /hash/get-keys-as-ptr-array 1373s ok 30 /hash/get-values-as-ptr-array 1373s ok 31 /hash/primes 1373s # Start of int64 tests 1373s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1373s ok 32 /hash/int64/collisions 1373s # End of int64 tests 1373s # Start of double tests 1373s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1373s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1373s ok 33 /hash/double/collisions 1373s # End of double tests 1373s # Start of recursive-remove-all tests 1373s # End of recursive-remove-all tests 1373s # Start of steal-extended tests 1373s ok 34 /hash/steal-extended/optional 1373s # End of steal-extended tests 1373s # End of hash tests 1373s ok - glib/hash.test 1373s # Running test: glib/gapplication.test 1373s TAP version 14 1373s # random seed: R02Se56085af96b834cd007fcc46207214aa 1373s 1..24 1373s # Start of gapplication tests 1373s ok 1 /gapplication/no-dbus 1373s ok 2 /gapplication/no-appid 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 3 /gapplication/properties 1373s ok 4 /gapplication/app-id 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 5 /gapplication/quit 1373s ok 6 /gapplication/registered 1373s ok 7 /gapplication/local-actions 1373s ok 8 /gapplication/local-command-line 1373s ok 9 /gapplication/resource-path 1373s ok 10 /gapplication/test-help 1373s ok 11 /gapplication/command-line-done 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 12 /gapplication/test-busy 1373s ok 13 /gapplication/test-handle-local-options1 1373s ok 14 /gapplication/test-handle-local-options2 1373s ok 15 /gapplication/test-handle-local-options3 1373s ok 16 /gapplication/api 1373s ok 17 /gapplication/version 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # launching subprocess 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 18 /gapplication/replace 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # launching subprocess 1373s # Executing: glib/gapplication.test 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 19 /gapplication/no-replace 1373s # slow test /gapplication/no-replace executed in 0.51 secs 1373s # Start of dbus tests 1373s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # Message 0 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 1 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 2 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 20 /gapplication/dbus/activate 1373s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # Message 0 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1373s # Message 1 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 2 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 3 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 21 /gapplication/dbus/open 1373s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # Message 0 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 1 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 2 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 22 /gapplication/dbus/command-line 1373s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 23 /gapplication/dbus/command-line-done 1373s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1373s # Message 0 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 1 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 2 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 3 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 4 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 5 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 6 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 7 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 8 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 9 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 10 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # Message 11 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 24 /gapplication/dbus/activate-action 1373s # End of dbus tests 1373s # End of gapplication tests 1373s ok - glib/gapplication.test 1373s # Running test: glib/io-stream.test 1373s TAP version 14 1373s # random seed: R02Sadf22e8e0096090c0960a5d805c9c1e2 1373s 1..3 1373s # Start of io-stream tests 1373s ok 1 /io-stream/copy-chunks 1373s # Start of close tests 1373s # Start of async tests 1373s ok 2 /io-stream/close/async/memory 1373s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1373s ok 3 /io-stream/close/async/file 1373s # End of async tests 1373s # End of close tests 1373s # End of io-stream tests 1373s ok - glib/io-stream.test 1373s # Running test: glib/enums.test 1373s TAP version 14 1373s # random seed: R02S5cf5a02b972765edce889da6af744b1c 1373s 1..4 1373s # Start of enum tests 1373s ok 1 /enum/basic 1373s ok 2 /enum/define-type 1373s # End of enum tests 1373s # Start of flags tests 1373s ok 3 /flags/basic 1373s ok 4 /flags/define-type 1373s # End of flags tests 1373s ok - glib/enums.test 1373s # Running test: glib/include.test 1373s TAP version 14 1373s # random seed: R02Sbee82f7af77e4126788adb3647ff522a 1373s 1..1 1373s # Start of include tests 1373s ok 1 /include/rwlock 1373s # End of include tests 1373s ok - glib/include.test 1373s # Running test: glib/sandbox.test 1373s TAP version 14 1373s # random seed: R02S1993ae28bc29586775deb4d3ce71d884 1373s 1..4 1373s # Start of sandbox tests 1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/home 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/cache 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/system-config2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/config 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/system-data2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/data 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/state 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_WK1PZ2/sandbox/none/.dirs/runtime 1373s ok 1 /sandbox/none 1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/home 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/cache 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/system-config2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/config 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/system-data2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/data 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/state 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_WK1PZ2/sandbox/snap/.dirs/runtime 1373s # Created snap.yaml in /tmp/test_sandbox_WK1PZ2/snap/current/meta/snap.yaml 1373s ok 2 /sandbox/snap 1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/home 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/cache 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/system-config2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/config 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/system-data2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/data 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/state 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_WK1PZ2/sandbox/classic-snap/.dirs/runtime 1373s # Created snap.yaml in /tmp/test_sandbox_WK1PZ2/snap/current/meta/snap.yaml 1373s ok 3 /sandbox/classic-snap 1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/home 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/cache 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/system-config2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/config 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/system-data2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/data 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/state 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/runtime 1373s # Creating .flatpak-info in /tmp/test_sandbox_WK1PZ2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1373s ok 4 /sandbox/flatpak 1373s # End of sandbox tests 1373s ok - glib/sandbox.test 1373s # Running test: glib/bindinggroup.test 1373s TAP version 14 1373s # random seed: R02Scc352ff20227fbb64fe8b1b5b1b38da0 1373s 1..11 1373s # Start of GObject tests 1373s # Start of BindingGroup tests 1373s ok 1 /GObject/BindingGroup/invalid 1373s ok 2 /GObject/BindingGroup/default 1373s ok 3 /GObject/BindingGroup/bidirectional 1373s ok 4 /GObject/BindingGroup/transform 1373s ok 5 /GObject/BindingGroup/transform-closures 1373s ok 6 /GObject/BindingGroup/same-object 1373s ok 7 /GObject/BindingGroup/weak-ref-source 1373s ok 8 /GObject/BindingGroup/weak-ref-target 1373s ok 9 /GObject/BindingGroup/properties 1373s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1373s ok 11 /GObject/BindingGroup/empty-closures 1373s # End of BindingGroup tests 1373s # End of GObject tests 1373s ok - glib/bindinggroup.test 1373s # Running test: glib/simple-proxy.test 1373s TAP version 14 1373s # random seed: R02S0140c8d1297fa24a29fc26bfac825bbd 1373s 1..3 1373s # Start of static-proxy tests 1373s ok 1 /static-proxy/uri 1373s ok 2 /static-proxy/socks 1373s ok 3 /static-proxy/ignore 1373s # End of static-proxy tests 1373s ok - glib/simple-proxy.test 1373s # Running test: glib/task.test 1373s TAP version 14 1373s # random seed: R02S45853118e3ff7b9145d3f24af0a01565 1373s 1..36 1373s # Start of gtask tests 1373s ok 1 /gtask/basic 1373s ok 2 /gtask/error 1373s ok 3 /gtask/error-literal 1373s ok 4 /gtask/error-literal-from-variable 1373s ok 5 /gtask/return-from-same-iteration 1373s ok 6 /gtask/return-from-toplevel 1373s ok 7 /gtask/return-from-anon-thread 1373s ok 8 /gtask/return-from-wrong-thread 1373s ok 9 /gtask/no-callback 1373s ok 10 /gtask/report-error 1373s ok 11 /gtask/priority 1373s ok 12 /gtask/name 1373s ok 13 /gtask/static-name 1373s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1374s ok 14 /gtask/asynchronous-cancellation 1374s ok 15 /gtask/check-cancellable 1374s ok 16 /gtask/return-if-cancelled 1374s ok 17 /gtask/run-in-thread 1374s ok 18 /gtask/run-in-thread-sync 1374s ok 19 /gtask/run-in-thread-priority 1374s ok 20 /gtask/run-in-thread-nested 1374s ok 21 /gtask/run-in-thread-overflow 1374s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1374s # GLib-GIO-DEBUG: GTask 0xc7f5bb039a80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1374s # GLib-GIO-DEBUG: GTask 0xc7f5bb039c40 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1374s ok 22 /gtask/return-on-cancel 1374s # GLib-GIO-DEBUG: GTask 0xc7f5bb03a6e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1374s # GLib-GIO-DEBUG: GTask 0xc7f5bb03a040 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1374s ok 23 /gtask/return-on-cancel-sync 1374s ok 24 /gtask/return-on-cancel-atomic 1374s ok 25 /gtask/return-pointer 1374s ok 26 /gtask/return-value 1374s ok 27 /gtask/return-prefixed-error 1374s ok 28 /gtask/object-keepalive 1374s ok 29 /gtask/legacy-error 1374s ok 30 /gtask/finalize-without-return 1374s # Start of name tests 1374s ok 31 /gtask/name/macro-wrapper 1374s # End of name tests 1374s # Start of return tests 1374s ok 32 /gtask/return/error-first 1374s ok 33 /gtask/return/value-first 1374s # Start of in-idle tests 1374s ok 34 /gtask/return/in-idle/error-first 1374s ok 35 /gtask/return/in-idle/value-first 1374s # End of in-idle tests 1374s # End of return tests 1374s # Start of attach-source tests 1374s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1374s ok 36 /gtask/attach-source/set-name 1374s # End of attach-source tests 1374s # End of gtask tests 1374s ok - glib/task.test 1374s # Running test: glib/macros-c-17.test 1374s TAP version 14 1374s # random seed: R02Sb497aa45cb0d8c770c367e98b909faf6 1374s 1..4 1374s # Start of C tests 1374s ok 1 /C/standard-17 1374s # End of C tests 1374s # Start of alignof tests 1374s ok 2 /alignof/fallback 1374s # End of alignof tests 1374s # Start of assert tests 1374s ok 3 /assert/static 1374s # End of assert tests 1374s # Start of struct tests 1374s ok 4 /struct/sizeof_member 1374s # End of struct tests 1374s ok - glib/macros-c-17.test 1374s # Running test: glib/cond.test 1374s TAP version 14 1374s # random seed: R02S23e8714a78104d419503b7589392d43a 1374s 1..4 1374s # Start of thread tests 1374s ok 1 /thread/cond1 1375s ok 2 /thread/cond2 1375s # Start of cond tests 1376s ok 3 /thread/cond/wait-until 1376s # slow test /thread/cond/wait-until executed in 1.02 secs 1376s # Start of wait-until tests 1376s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1377s ok 4 /thread/cond/wait-until/contended-and-interrupted 1377s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1377s # End of wait-until tests 1377s # End of cond tests 1377s # End of thread tests 1377s ok - glib/cond.test 1377s # Running test: glib/autoptr.test 1377s TAP version 14 1377s # random seed: R02S02f6155f758995c41ca8dc449c8a95f6 1377s 1..6 1377s # Start of autoptr tests 1377s ok 1 /autoptr/autoptr 1377s ok 2 /autoptr/autoptr_steal 1377s ok 3 /autoptr/autolist 1377s ok 4 /autoptr/autoslist 1377s ok 5 /autoptr/autoqueue 1377s ok 6 /autoptr/autoclass 1377s # End of autoptr tests 1377s ok - glib/autoptr.test 1377s # Running test: glib/testing.test 1377s TAP version 14 1377s # random seed: R02S996601f80d338bf79215ca2f9173fea8 1377s 1..1 1377s # Start of assert tests 1377s ok 1 /assert/finalize_object 1377s # Start of finalize_object tests 1377s # Start of subprocess tests 1377s # End of subprocess tests 1377s # End of finalize_object tests 1377s # End of assert tests 1377s ok - glib/testing.test 1377s # Running test: glib/mappedfile.test 1377s TAP version 14 1377s # random seed: R02S64ec15417e4f923cff8c14eef8d18a2d 1377s 1..7 1377s # Start of mappedfile tests 1377s ok 1 /mappedfile/basic 1377s ok 2 /mappedfile/empty 1377s ok 3 /mappedfile/device 1377s ok 4 /mappedfile/nonexisting 1377s ok 5 /mappedfile/writable 1377s ok 6 /mappedfile/writable_fd 1377s ok 7 /mappedfile/gbytes 1377s # End of mappedfile tests 1377s ok - glib/mappedfile.test 1377s # Running test: glib/boxed.test 1377s TAP version 14 1377s # random seed: R02S6e62560253ada8612c0aeb35b0fdd62e 1377s 1..27 1377s # Start of boxed tests 1377s ok 1 /boxed/define 1377s ok 2 /boxed/ownership 1377s ok 3 /boxed/closure 1377s ok 4 /boxed/date 1377s ok 5 /boxed/value 1377s ok 6 /boxed/string 1377s ok 7 /boxed/hashtable 1377s ok 8 /boxed/array 1377s ok 9 /boxed/ptrarray 1377s ok 10 /boxed/regex 1377s ok 11 /boxed/varianttype 1377s ok 12 /boxed/error 1377s ok 13 /boxed/datetime 1377s ok 14 /boxed/matchinfo 1377s ok 15 /boxed/keyfile 1377s ok 16 /boxed/mainloop 1377s ok 17 /boxed/maincontext 1377s ok 18 /boxed/source 1377s ok 19 /boxed/variantbuilder 1377s ok 20 /boxed/timezone 1377s ok 21 /boxed/pollfd 1377s ok 22 /boxed/markup 1377s ok 23 /boxed/thread 1377s ok 24 /boxed/checksum 1377s ok 25 /boxed/tree 1377s ok 26 /boxed/patternspec 1377s ok 27 /boxed/rand 1377s # End of boxed tests 1377s ok - glib/boxed.test 1377s # Running test: glib/node.test 1377s TAP version 14 1377s # random seed: R02Sb683405e845e9a6050a24daefaaf3be6 1377s 1..6 1377s # Start of node tests 1377s ok 1 /node/allocation 1377s ok 2 /node/construction 1377s ok 3 /node/traversal 1377s ok 4 /node/misc 1377s ok 5 /node/unlink 1377s ok 6 /node/copy 1377s # End of node tests 1377s ok - glib/node.test 1377s # Running test: glib/cache.test 1377s TAP version 14 1377s # random seed: R02S8a8e8e3a81e4fc9735b72b12af43fa82 1377s 1..1 1377s # Start of cache tests 1377s ok 1 /cache/basic 1377s # End of cache tests 1377s ok - glib/cache.test 1377s # Running test: glib/mimeapps.test 1377s TAP version 14 1377s # random seed: R02Sb1e28cfa932d82c5075541f8c88d311a 1377s 1..7 1377s # Start of appinfo tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/runtime 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/system-data1/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data/applications/myapp.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1377s # removing '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1377s ok 1 /appinfo/all 1377s # Start of mime tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/runtime 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/system-data1/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1377s # removing '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/config 1377s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_92BWZ2/appinfo/all/.dirs/config to /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/config 1377s ok 2 /appinfo/mime/api 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/runtime 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/system-data1/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1377s # removing '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/config 1377s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_92BWZ2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/config 1377s ok 3 /appinfo/mime/default 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/runtime 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/system-data1/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1377s # removing '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/config 1377s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_92BWZ2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/config 1377s ok 4 /appinfo/mime/file 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/runtime 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1377s # removing '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1377s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_92BWZ2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/config 1377s ok 5 /appinfo/mime/scheme-handler 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/runtime 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1377s # removing '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/config 1377s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_92BWZ2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/config 1377s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/config 1377s ok 6 /appinfo/mime/default-last-used 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1377s # removing '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1377s # creating '/tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1377s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_92BWZ2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_92BWZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1377s ok 7 /appinfo/mime/ignore-nonexisting 1377s # End of mime tests 1377s # End of appinfo tests 1377s ok - glib/mimeapps.test 1377s # Running test: glib/rcbox.test 1377s TAP version 14 1377s # random seed: R02S5dae5d0f6caa47dde917b0781bc900a0 1377s 1..8 1377s # Start of rcbox tests 1377s ok 1 /rcbox/new 1377s # global_point = 0xab64daaba8d0 1377s ok 2 /rcbox/release-full 1377s # global_point_a = 0xab64daaba8d0 1377s # global_point_b = 0xab64daaba890 1377s ok 3 /rcbox/dup 1377s ok 4 /rcbox/alignment 1377s # End of rcbox tests 1377s # Start of atomic-rcbox tests 1377s ok 5 /atomic-rcbox/new 1377s # global_point = 0xab64daabaaa0 1377s ok 6 /atomic-rcbox/release-full 1377s # global_point_a = 0xab64daabaaa0 1377s # global_point_b = 0xab64daabaa60 1377s ok 7 /atomic-rcbox/dup 1377s ok 8 /atomic-rcbox/alignment 1377s # End of atomic-rcbox tests 1377s ok - glib/rcbox.test 1377s # Running test: glib/portal-support-flatpak-gsettings-only.test 1377s TAP version 14 1377s # random seed: R02Sd63ede9e1ddf7ce51087a7fa12c5fc80 1377s 1..1 1377s # Start of portal-support tests 1377s # Start of flatpak tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/runtime 1377s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_L74XZ2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1377s ok 1 /portal-support/flatpak/gsettings 1377s # End of flatpak tests 1377s # End of portal-support tests 1377s ok - glib/portal-support-flatpak-gsettings-only.test 1377s # Running test: glib/scannerapi.test 1377s TAP version 14 1377s # random seed: R02S7b41729de83e9bd173ab920f2e28a026 1377s 1..4 1377s # Start of scanner tests 1377s ok 1 /scanner/warn 1377s ok 2 /scanner/error 1377s ok 3 /scanner/symbols 1377s ok 4 /scanner/tokens 1377s # End of scanner tests 1377s ok - glib/scannerapi.test 1377s # Running test: glib/converter.test 1377s TAP version 14 1377s # random seed: R02S82a0d1abeac54ea03e4976e9b233a699 1377s 1..1 1377s # Start of converter tests 1377s ok 1 /converter/bytes 1377s # End of converter tests 1377s ok - glib/converter.test 1377s # Running test: glib/repository.test 1377s TAP version 14 1377s # random seed: R02S64a021907400d0abe1cd5cb8d8cab418 1377s 1..23 1377s # Start of repository tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/basic/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/basic/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/basic/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/basic/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/basic/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/basic/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/basic/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/basic/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/basic/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/basic/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1377s ok 1 /repository/basic 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/info/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/info/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/info/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/info/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/info/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/info/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/info/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/info/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/info/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/info/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1377s ok 2 /repository/info 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/dependencies/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1377s ok 3 /repository/dependencies 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/arg-info/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1377s ok 4 /repository/arg-info 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/callable-info/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1377s ok 5 /repository/callable-info 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/callback-info/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1377s ok 6 /repository/callback-info 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/char-types/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/char-types/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/char-types/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/char-types/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/char-types/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/char-types/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/char-types/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/char-types/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/char-types/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/char-types/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1377s ok 7 /repository/char-types 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/constructor-return-type/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1377s ok 8 /repository/constructor-return-type 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/enum-info-c-identifier/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1377s ok 9 /repository/enum-info-c-identifier 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/enum-info-static-methods/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/enum-info-static-methods summary: Test an enum with methods 1377s ok 10 /repository/enum-info-static-methods 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/error-quark/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/error-quark summary: Test finding an error quark by error domain 1377s ok 11 /repository/error-quark 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/flags-info-c-identifier/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1377s ok 12 /repository/flags-info-c-identifier 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/fundamental-ref-func/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1377s ok 13 /repository/fundamental-ref-func 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/instance-method-ownership-transfer/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1377s ok 14 /repository/instance-method-ownership-transfer 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/object-gtype-interfaces/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1377s ok 15 /repository/object-gtype-interfaces 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/signal-info-with-array-length-arg/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1377s ok 16 /repository/signal-info-with-array-length-arg 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/type-info-name/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1377s ok 17 /repository/type-info-name 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1377s ok 18 /repository/vfunc-info-with-no-invoker 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1377s ok 19 /repository/vfunc-info-with-invoker-on-interface 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1377s ok 20 /repository/vfunc-info-with-invoker-on-object 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/find-by-gtype/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/find-by-gtype summary: Test finding a GType 1377s ok 21 /repository/find-by-gtype 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/loaded-namespaces/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1377s ok 22 /repository/loaded-namespaces 1377s # Start of base-info tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RSRYZ2/repository/base-info/clear/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1377s ok 23 /repository/base-info/clear 1377s # End of base-info tests 1377s # End of repository tests 1377s ok - glib/repository.test 1377s # Running test: glib/gio-tool.py.test 1377s TAP version 13 1377s ok 1 __main__.TestGioTool.test_help 1377s # tmpdir: /tmp/tmp_3zbl_xy 1377s # gio: /usr/bin/gio 1377s # Running: ['/usr/bin/gio', '--help'] 1377s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1377s # Output: Usage: 1377s # gio COMMAND [ARGS…] 1377s # 1377s # Commands: 1377s # help Print help 1377s # version Print version 1377s # cat Concatenate files to standard output 1377s # copy Copy one or more files 1377s # info Show information about locations 1377s # launch Launch an application from a desktop file 1377s # list List the contents of locations 1377s # mime Get or set the handler for a mimetype 1377s # mkdir Create directories 1377s # monitor Monitor files and directories for changes 1377s # mount Mount or unmount the locations 1377s # move Move one or more files 1377s # open Open files with the default application 1377s # rename Rename a file 1377s # remove Delete one or more files 1377s # save Read from standard input and save 1377s # set Set a file attribute 1377s # trash Move files or directories to the trash 1377s # tree Lists the contents of locations in a tree 1377s # 1377s # Use “gio help COMMAND†to get detailed help. 1377s # Running: ['/usr/bin/gio', 'help'] 1377s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1377s # Output: Usage: 1377s # gio COMMAND [ARGS…] 1377s # 1377s # Commands: 1377s # help Print help 1377s # version Print version 1377s # cat Concatenate files to standard output 1377s # copy Copy one or more files 1377s # info Show information about locations 1377s # launch Launch an application from a desktop file 1377s # list List the contents of locations 1377s # mime Get or set the handler for a mimetype 1377s # mkdir Create directories 1377s # monitor Monitor files and directories for changes 1377s # mount Mount or unmount the locations 1377s # move Move one or more files 1377s # open Open files with the default application 1377s # rename Rename a file 1377s # remove Delete one or more files 1377s # save Read from standard input and save 1377s # set Set a file attribute 1377s # trash Move files or directories to the trash 1377s # tree Lists the contents of locations in a tree 1377s # 1377s # Use “gio help COMMAND†to get detailed help. 1377s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1377s # tmpdir: /tmp/tmpnjagsvel 1377s # gio: /usr/bin/gio 1377s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpnjagsvel/tmpwdgi2w7r'] 1377s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1377s # Output: uri: file:///tmp/tmpnjagsvel/tmpwdgi2w7r 1377s # local path: /tmp/tmpnjagsvel/tmpwdgi2w7r 1377s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1377s # attributes: 1377s # standard::content-type: application/x-zerosize 1377s ok 3 __main__.TestGioTool.test_no_args 1377s # tmpdir: /tmp/tmp0qojtot3 1377s # gio: /usr/bin/gio 1377s # Running: ['/usr/bin/gio'] 1377s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1377s 1..3 1377s ok - glib/gio-tool.py.test 1377s # Running test: glib/utf8-misc.test 1377s TAP version 14 1377s # random seed: R02Sc77e1648d6dbbf8287df84eac792db46 1377s 1..7 1377s # Start of utf8 tests 1377s ok 1 /utf8/strlen 1377s ok 2 /utf8/strncpy 1377s ok 3 /utf8/strrchr 1377s ok 4 /utf8/reverse 1377s ok 5 /utf8/substring 1377s ok 6 /utf8/make-valid 1377s ok 7 /utf8/truncate-middle 1377s # End of utf8 tests 1377s ok - glib/utf8-misc.test 1377s # Running test: glib/closure.test 1377s TAP version 14 1377s # random seed: R02S8befb9813126c5c70200f815f170ed42 1377s 1..6 1377s # Start of closure tests 1377s ok 1 /closure/idle 1377s ok 2 /closure/timeout 1377s ok 3 /closure/iochannel 1377s ok 4 /closure/child 1377s ok 5 /closure/fd 1377s ok 6 /closure/signal 1377s # End of closure tests 1377s ok - glib/closure.test 1377s # Running test: glib/markup-subparser.test 1377s TAP version 14 1377s # random seed: R02S848ff395f085cc4f81b9c0efd394cde5 1377s 1..14 1377s # Start of glib tests 1377s # Start of markup tests 1377s # Start of subparser tests 1377s # Start of success tests 1377s ok 1 /glib/markup/subparser/success/0 1377s ok 2 /glib/markup/subparser/success/1 1377s ok 3 /glib/markup/subparser/success/2 1377s ok 4 /glib/markup/subparser/success/3 1377s ok 5 /glib/markup/subparser/success/4 1377s ok 6 /glib/markup/subparser/success/5 1377s ok 7 /glib/markup/subparser/success/6 1377s # End of success tests 1377s # Start of failure tests 1377s ok 8 /glib/markup/subparser/failure/0 1377s ok 9 /glib/markup/subparser/failure/1 1377s ok 10 /glib/markup/subparser/failure/2 1377s ok 11 /glib/markup/subparser/failure/3 1377s ok 12 /glib/markup/subparser/failure/4 1377s ok 13 /glib/markup/subparser/failure/5 1377s ok 14 /glib/markup/subparser/failure/6 1377s # End of failure tests 1377s # End of subparser tests 1377s # End of markup tests 1377s # End of glib tests 1377s ok - glib/markup-subparser.test 1377s # Running test: glib/contexts.test 1377s TAP version 14 1377s # random seed: R02S69e1594a79676cc3c349973b095cb615 1377s 1..5 1377s # Start of gio tests 1377s # Start of contexts tests 1377s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1377s ok 1 /gio/contexts/thread-independence 1377s ok 2 /gio/contexts/context-independence 1377s # Start of context-specific tests 1377s ok 3 /gio/contexts/context-specific/identity 1377s ok 4 /gio/contexts/context-specific/emit 1377s ok 5 /gio/contexts/context-specific/emit-and-unref 1377s # End of context-specific tests 1377s # End of contexts tests 1377s # End of gio tests 1377s ok - glib/contexts.test 1377s # Running test: glib/memory-output-stream.test 1377s TAP version 14 1377s # random seed: R02S25d43c6cae009aed576c51180fc88b50 1377s 1..10 1377s # Start of memory-output-stream tests 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1377s ok 1 /memory-output-stream/truncate 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1377s ok 2 /memory-output-stream/get-data-size 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1377s ok 3 /memory-output-stream/properties 1377s ok 4 /memory-output-stream/write-bytes 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1377s ok 5 /memory-output-stream/write-null 1377s ok 6 /memory-output-stream/writev 1377s ok 7 /memory-output-stream/writev_nonblocking 1377s ok 8 /memory-output-stream/steal_as_bytes 1377s # Start of seek tests 1377s ok 9 /memory-output-stream/seek/fixed 1377s ok 10 /memory-output-stream/seek/resizable 1377s # End of seek tests 1377s # End of memory-output-stream tests 1377s ok - glib/memory-output-stream.test 1377s # Running test: glib/gdbus-bz627724.test 1377s TAP version 14 1377s # random seed: R02S35d713e181c84e0b77551c5e68337995 1377s 1..1 1377s # Start of gdbus tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_8S23Z2/gdbus/bz627724/.dirs/runtime 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 1 /gdbus/bz627724 1377s # End of gdbus tests 1377s ok - glib/gdbus-bz627724.test 1377s # Running test: glib/properties-refcount4.test 1377s TAP version 14 1377s # random seed: R02S774f8afb533681c8769c6cbff02e2ffa 1377s 1..1 1377s # Start of gobject tests 1377s # Start of refcount tests 1377s ok 1 /gobject/refcount/properties-4 1377s # End of refcount tests 1377s # End of gobject tests 1377s ok - glib/properties-refcount4.test 1377s # Running test: glib/properties.test 1377s TAP version 14 1377s # random seed: R02S6695ef82bdd6f7a8b19a4e7b7c2f0ec0 1377s 1..13 1377s # Start of properties tests 1377s ok 1 /properties/install 1377s ok 2 /properties/install-many 1377s ok 3 /properties/notify 1377s ok 4 /properties/notify-queue 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1377s ok 5 /properties/construct 1377s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1377s # Test g_object_get_property with an initialized value 1377s # Test g_object_get_property with an uninitialized value 1377s # Test g_object_get_property with a transformable value 1377s ok 6 /properties/get-property 1377s ok 7 /properties/testv_with_no_properties 1377s ok 8 /properties/testv_with_valid_properties 1377s ok 9 /properties/testv_with_invalid_property_type 1377s ok 10 /properties/testv_with_invalid_property_names 1377s ok 11 /properties/testv_getv 1377s ok 12 /properties/testv_notify_queue 1377s # Start of set-property tests 1377s # Start of variant tests 1377s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1377s ok 13 /properties/set-property/variant/floating 1377s # End of variant tests 1377s # End of set-property tests 1377s # End of properties tests 1377s ok - glib/properties.test 1377s # Running test: glib/simple-async-result.test 1377s TAP version 14 1377s # random seed: R02Sd828edb3b0078ce876c3f3784331355d 1377s 1..2 1377s # Start of gio tests 1377s # Start of simple-async-result tests 1377s ok 1 /gio/simple-async-result/test 1377s # GLib-GIO-DEBUG: GTask 0xacf45f123730 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1377s ok 2 /gio/simple-async-result/valid 1377s # End of simple-async-result tests 1377s # End of gio tests 1377s ok - glib/simple-async-result.test 1377s # Running test: glib/checksum.test 1377s TAP version 14 1377s # random seed: R02Sb258a33a3730f0a76ce378e59bf69513 1377s 1..1851 1377s # Start of checksum tests 1377s ok 1 /checksum/unsupported 1377s # Start of MD5 tests 1377s ok 2 /checksum/MD5/0 1377s ok 3 /checksum/MD5/1 1377s ok 4 /checksum/MD5/2 1377s ok 5 /checksum/MD5/3 1377s ok 6 /checksum/MD5/4 1377s ok 7 /checksum/MD5/5 1377s ok 8 /checksum/MD5/6 1377s ok 9 /checksum/MD5/7 1377s ok 10 /checksum/MD5/8 1377s ok 11 /checksum/MD5/9 1377s ok 12 /checksum/MD5/10 1377s ok 13 /checksum/MD5/11 1377s ok 14 /checksum/MD5/12 1377s ok 15 /checksum/MD5/13 1377s ok 16 /checksum/MD5/14 1377s ok 17 /checksum/MD5/15 1377s ok 18 /checksum/MD5/16 1377s ok 19 /checksum/MD5/17 1377s ok 20 /checksum/MD5/18 1377s ok 21 /checksum/MD5/19 1377s ok 22 /checksum/MD5/20 1377s ok 23 /checksum/MD5/21 1377s ok 24 /checksum/MD5/22 1377s ok 25 /checksum/MD5/23 1377s ok 26 /checksum/MD5/24 1377s ok 27 /checksum/MD5/25 1377s ok 28 /checksum/MD5/26 1377s ok 29 /checksum/MD5/27 1377s ok 30 /checksum/MD5/28 1377s ok 31 /checksum/MD5/29 1377s ok 32 /checksum/MD5/30 1377s ok 33 /checksum/MD5/31 1377s ok 34 /checksum/MD5/32 1377s ok 35 /checksum/MD5/33 1377s ok 36 /checksum/MD5/34 1377s ok 37 /checksum/MD5/35 1377s ok 38 /checksum/MD5/36 1377s ok 39 /checksum/MD5/37 1377s ok 40 /checksum/MD5/38 1377s ok 41 /checksum/MD5/39 1377s ok 42 /checksum/MD5/40 1377s ok 43 /checksum/MD5/41 1377s ok 44 /checksum/MD5/42 1377s ok 45 /checksum/MD5/43 1377s ok 46 /checksum/MD5/44 1377s ok 47 /checksum/MD5/45 1377s ok 48 /checksum/MD5/46 1377s ok 49 /checksum/MD5/47 1377s ok 50 /checksum/MD5/48 1377s ok 51 /checksum/MD5/49 1377s ok 52 /checksum/MD5/50 1377s ok 53 /checksum/MD5/51 1377s ok 54 /checksum/MD5/52 1377s ok 55 /checksum/MD5/53 1377s ok 56 /checksum/MD5/54 1377s ok 57 /checksum/MD5/55 1377s ok 58 /checksum/MD5/56 1377s ok 59 /checksum/MD5/57 1377s ok 60 /checksum/MD5/58 1377s ok 61 /checksum/MD5/59 1377s ok 62 /checksum/MD5/60 1377s ok 63 /checksum/MD5/61 1377s ok 64 /checksum/MD5/62 1377s ok 65 /checksum/MD5/63 1377s ok 66 /checksum/MD5/64 1377s ok 67 /checksum/MD5/65 1377s ok 68 /checksum/MD5/66 1377s ok 69 /checksum/MD5/67 1377s ok 70 /checksum/MD5/68 1377s ok 71 /checksum/MD5/69 1377s ok 72 /checksum/MD5/70 1377s ok 73 /checksum/MD5/71 1377s ok 74 /checksum/MD5/72 1377s ok 75 /checksum/MD5/73 1377s ok 76 /checksum/MD5/74 1377s ok 77 /checksum/MD5/75 1377s ok 78 /checksum/MD5/76 1377s ok 79 /checksum/MD5/77 1377s ok 80 /checksum/MD5/78 1377s ok 81 /checksum/MD5/79 1377s ok 82 /checksum/MD5/80 1377s ok 83 /checksum/MD5/81 1377s ok 84 /checksum/MD5/82 1377s ok 85 /checksum/MD5/83 1377s ok 86 /checksum/MD5/84 1377s ok 87 /checksum/MD5/85 1377s ok 88 /checksum/MD5/86 1377s ok 89 /checksum/MD5/87 1377s ok 90 /checksum/MD5/88 1377s ok 91 /checksum/MD5/89 1377s ok 92 /checksum/MD5/90 1377s ok 93 /checksum/MD5/91 1377s ok 94 /checksum/MD5/92 1377s ok 95 /checksum/MD5/93 1377s ok 96 /checksum/MD5/94 1377s ok 97 /checksum/MD5/95 1377s ok 98 /checksum/MD5/96 1377s ok 99 /checksum/MD5/97 1377s ok 100 /checksum/MD5/98 1377s ok 101 /checksum/MD5/99 1377s ok 102 /checksum/MD5/100 1377s ok 103 /checksum/MD5/101 1377s ok 104 /checksum/MD5/102 1377s ok 105 /checksum/MD5/103 1377s ok 106 /checksum/MD5/104 1377s ok 107 /checksum/MD5/105 1377s ok 108 /checksum/MD5/106 1377s ok 109 /checksum/MD5/107 1377s ok 110 /checksum/MD5/108 1377s ok 111 /checksum/MD5/109 1377s ok 112 /checksum/MD5/110 1377s ok 113 /checksum/MD5/111 1377s ok 114 /checksum/MD5/112 1377s ok 115 /checksum/MD5/113 1377s ok 116 /checksum/MD5/114 1377s ok 117 /checksum/MD5/115 1377s ok 118 /checksum/MD5/116 1377s ok 119 /checksum/MD5/117 1377s ok 120 /checksum/MD5/118 1377s ok 121 /checksum/MD5/119 1377s ok 122 /checksum/MD5/120 1377s ok 123 /checksum/MD5/121 1377s ok 124 /checksum/MD5/122 1377s ok 125 /checksum/MD5/123 1377s ok 126 /checksum/MD5/124 1377s ok 127 /checksum/MD5/125 1377s ok 128 /checksum/MD5/126 1377s ok 129 /checksum/MD5/127 1377s ok 130 /checksum/MD5/128 1377s ok 131 /checksum/MD5/129 1377s ok 132 /checksum/MD5/130 1377s ok 133 /checksum/MD5/131 1377s ok 134 /checksum/MD5/132 1377s ok 135 /checksum/MD5/133 1377s ok 136 /checksum/MD5/134 1377s ok 137 /checksum/MD5/135 1377s ok 138 /checksum/MD5/136 1377s ok 139 /checksum/MD5/137 1377s ok 140 /checksum/MD5/138 1377s ok 141 /checksum/MD5/139 1377s ok 142 /checksum/MD5/140 1377s ok 143 /checksum/MD5/141 1377s ok 144 /checksum/MD5/142 1377s ok 145 /checksum/MD5/143 1377s ok 146 /checksum/MD5/144 1377s ok 147 /checksum/MD5/145 1377s ok 148 /checksum/MD5/146 1377s ok 149 /checksum/MD5/147 1377s ok 150 /checksum/MD5/148 1377s ok 151 /checksum/MD5/149 1377s ok 152 /checksum/MD5/150 1377s ok 153 /checksum/MD5/151 1377s ok 154 /checksum/MD5/152 1377s ok 155 /checksum/MD5/153 1377s ok 156 /checksum/MD5/154 1377s ok 157 /checksum/MD5/155 1377s ok 158 /checksum/MD5/156 1377s ok 159 /checksum/MD5/157 1377s ok 160 /checksum/MD5/158 1377s ok 161 /checksum/MD5/159 1377s ok 162 /checksum/MD5/160 1377s ok 163 /checksum/MD5/161 1377s ok 164 /checksum/MD5/162 1377s ok 165 /checksum/MD5/163 1377s ok 166 /checksum/MD5/164 1377s ok 167 /checksum/MD5/165 1377s ok 168 /checksum/MD5/166 1377s ok 169 /checksum/MD5/167 1377s ok 170 /checksum/MD5/168 1377s ok 171 /checksum/MD5/169 1377s ok 172 /checksum/MD5/170 1377s ok 173 /checksum/MD5/171 1377s ok 174 /checksum/MD5/172 1377s ok 175 /checksum/MD5/173 1377s ok 176 /checksum/MD5/174 1377s ok 177 /checksum/MD5/175 1377s ok 178 /checksum/MD5/176 1377s ok 179 /checksum/MD5/177 1377s ok 180 /checksum/MD5/178 1377s ok 181 /checksum/MD5/179 1377s ok 182 /checksum/MD5/180 1377s ok 183 /checksum/MD5/181 1377s ok 184 /checksum/MD5/182 1377s ok 185 /checksum/MD5/183 1377s ok 186 /checksum/MD5/string 1377s ok 187 /checksum/MD5/bytes 1377s # Start of reset tests 1377s ok 188 /checksum/MD5/reset/0 1377s ok 189 /checksum/MD5/reset/1 1377s ok 190 /checksum/MD5/reset/2 1377s ok 191 /checksum/MD5/reset/3 1377s ok 192 /checksum/MD5/reset/4 1377s ok 193 /checksum/MD5/reset/5 1377s ok 194 /checksum/MD5/reset/6 1377s ok 195 /checksum/MD5/reset/7 1377s ok 196 /checksum/MD5/reset/8 1377s ok 197 /checksum/MD5/reset/9 1377s ok 198 /checksum/MD5/reset/10 1377s ok 199 /checksum/MD5/reset/11 1377s ok 200 /checksum/MD5/reset/12 1377s ok 201 /checksum/MD5/reset/13 1377s ok 202 /checksum/MD5/reset/14 1377s ok 203 /checksum/MD5/reset/15 1377s ok 204 /checksum/MD5/reset/16 1377s ok 205 /checksum/MD5/reset/17 1377s ok 206 /checksum/MD5/reset/18 1377s ok 207 /checksum/MD5/reset/19 1377s ok 208 /checksum/MD5/reset/20 1377s ok 209 /checksum/MD5/reset/21 1377s ok 210 /checksum/MD5/reset/22 1377s ok 211 /checksum/MD5/reset/23 1377s ok 212 /checksum/MD5/reset/24 1377s ok 213 /checksum/MD5/reset/25 1377s ok 214 /checksum/MD5/reset/26 1377s ok 215 /checksum/MD5/reset/27 1377s ok 216 /checksum/MD5/reset/28 1377s ok 217 /checksum/MD5/reset/29 1377s ok 218 /checksum/MD5/reset/30 1377s ok 219 /checksum/MD5/reset/31 1377s ok 220 /checksum/MD5/reset/32 1377s ok 221 /checksum/MD5/reset/33 1377s ok 222 /checksum/MD5/reset/34 1377s ok 223 /checksum/MD5/reset/35 1377s ok 224 /checksum/MD5/reset/36 1377s ok 225 /checksum/MD5/reset/37 1377s ok 226 /checksum/MD5/reset/38 1377s ok 227 /checksum/MD5/reset/39 1377s ok 228 /checksum/MD5/reset/40 1377s ok 229 /checksum/MD5/reset/41 1377s ok 230 /checksum/MD5/reset/42 1377s ok 231 /checksum/MD5/reset/43 1377s ok 232 /checksum/MD5/reset/44 1377s ok 233 /checksum/MD5/reset/45 1377s ok 234 /checksum/MD5/reset/46 1377s ok 235 /checksum/MD5/reset/47 1377s ok 236 /checksum/MD5/reset/48 1377s ok 237 /checksum/MD5/reset/49 1377s ok 238 /checksum/MD5/reset/50 1377s ok 239 /checksum/MD5/reset/51 1377s ok 240 /checksum/MD5/reset/52 1377s ok 241 /checksum/MD5/reset/53 1377s ok 242 /checksum/MD5/reset/54 1377s ok 243 /checksum/MD5/reset/55 1377s ok 244 /checksum/MD5/reset/56 1377s ok 245 /checksum/MD5/reset/57 1377s ok 246 /checksum/MD5/reset/58 1377s ok 247 /checksum/MD5/reset/59 1377s ok 248 /checksum/MD5/reset/60 1377s ok 249 /checksum/MD5/reset/61 1377s ok 250 /checksum/MD5/reset/62 1377s ok 251 /checksum/MD5/reset/63 1377s ok 252 /checksum/MD5/reset/64 1377s ok 253 /checksum/MD5/reset/65 1377s ok 254 /checksum/MD5/reset/66 1377s ok 255 /checksum/MD5/reset/67 1377s ok 256 /checksum/MD5/reset/68 1377s ok 257 /checksum/MD5/reset/69 1377s ok 258 /checksum/MD5/reset/70 1377s ok 259 /checksum/MD5/reset/71 1377s ok 260 /checksum/MD5/reset/72 1377s ok 261 /checksum/MD5/reset/73 1377s ok 262 /checksum/MD5/reset/74 1377s ok 263 /checksum/MD5/reset/75 1377s ok 264 /checksum/MD5/reset/76 1377s ok 265 /checksum/MD5/reset/77 1377s ok 266 /checksum/MD5/reset/78 1377s ok 267 /checksum/MD5/reset/79 1377s ok 268 /checksum/MD5/reset/80 1377s ok 269 /checksum/MD5/reset/81 1377s ok 270 /checksum/MD5/reset/82 1377s ok 271 /checksum/MD5/reset/83 1377s ok 272 /checksum/MD5/reset/84 1377s ok 273 /checksum/MD5/reset/85 1377s ok 274 /checksum/MD5/reset/86 1377s ok 275 /checksum/MD5/reset/87 1377s ok 276 /checksum/MD5/reset/88 1377s ok 277 /checksum/MD5/reset/89 1377s ok 278 /checksum/MD5/reset/90 1377s ok 279 /checksum/MD5/reset/91 1377s ok 280 /checksum/MD5/reset/92 1377s ok 281 /checksum/MD5/reset/93 1377s ok 282 /checksum/MD5/reset/94 1377s ok 283 /checksum/MD5/reset/95 1377s ok 284 /checksum/MD5/reset/96 1377s ok 285 /checksum/MD5/reset/97 1377s ok 286 /checksum/MD5/reset/98 1377s ok 287 /checksum/MD5/reset/99 1377s ok 288 /checksum/MD5/reset/100 1377s ok 289 /checksum/MD5/reset/101 1377s ok 290 /checksum/MD5/reset/102 1377s ok 291 /checksum/MD5/reset/103 1377s ok 292 /checksum/MD5/reset/104 1377s ok 293 /checksum/MD5/reset/105 1377s ok 294 /checksum/MD5/reset/106 1377s ok 295 /checksum/MD5/reset/107 1377s ok 296 /checksum/MD5/reset/108 1377s ok 297 /checksum/MD5/reset/109 1377s ok 298 /checksum/MD5/reset/110 1377s ok 299 /checksum/MD5/reset/111 1377s ok 300 /checksum/MD5/reset/112 1377s ok 301 /checksum/MD5/reset/113 1377s ok 302 /checksum/MD5/reset/114 1377s ok 303 /checksum/MD5/reset/115 1377s ok 304 /checksum/MD5/reset/116 1377s ok 305 /checksum/MD5/reset/117 1377s ok 306 /checksum/MD5/reset/118 1377s ok 307 /checksum/MD5/reset/119 1377s ok 308 /checksum/MD5/reset/120 1377s ok 309 /checksum/MD5/reset/121 1377s ok 310 /checksum/MD5/reset/122 1377s ok 311 /checksum/MD5/reset/123 1377s ok 312 /checksum/MD5/reset/124 1377s ok 313 /checksum/MD5/reset/125 1377s ok 314 /checksum/MD5/reset/126 1377s ok 315 /checksum/MD5/reset/127 1377s ok 316 /checksum/MD5/reset/128 1377s ok 317 /checksum/MD5/reset/129 1377s ok 318 /checksum/MD5/reset/130 1377s ok 319 /checksum/MD5/reset/131 1377s ok 320 /checksum/MD5/reset/132 1377s ok 321 /checksum/MD5/reset/133 1377s ok 322 /checksum/MD5/reset/134 1377s ok 323 /checksum/MD5/reset/135 1377s ok 324 /checksum/MD5/reset/136 1377s ok 325 /checksum/MD5/reset/137 1377s ok 326 /checksum/MD5/reset/138 1377s ok 327 /checksum/MD5/reset/139 1377s ok 328 /checksum/MD5/reset/140 1377s ok 329 /checksum/MD5/reset/141 1377s ok 330 /checksum/MD5/reset/142 1377s ok 331 /checksum/MD5/reset/143 1377s ok 332 /checksum/MD5/reset/144 1377s ok 333 /checksum/MD5/reset/145 1377s ok 334 /checksum/MD5/reset/146 1377s ok 335 /checksum/MD5/reset/147 1377s ok 336 /checksum/MD5/reset/148 1377s ok 337 /checksum/MD5/reset/149 1377s ok 338 /checksum/MD5/reset/150 1377s ok 339 /checksum/MD5/reset/151 1377s ok 340 /checksum/MD5/reset/152 1377s ok 341 /checksum/MD5/reset/153 1377s ok 342 /checksum/MD5/reset/154 1377s ok 343 /checksum/MD5/reset/155 1377s ok 344 /checksum/MD5/reset/156 1377s ok 345 /checksum/MD5/reset/157 1377s ok 346 /checksum/MD5/reset/158 1377s ok 347 /checksum/MD5/reset/159 1377s ok 348 /checksum/MD5/reset/160 1377s ok 349 /checksum/MD5/reset/161 1377s ok 350 /checksum/MD5/reset/162 1377s ok 351 /checksum/MD5/reset/163 1377s ok 352 /checksum/MD5/reset/164 1377s ok 353 /checksum/MD5/reset/165 1377s ok 354 /checksum/MD5/reset/166 1377s ok 355 /checksum/MD5/reset/167 1377s ok 356 /checksum/MD5/reset/168 1377s ok 357 /checksum/MD5/reset/169 1377s ok 358 /checksum/MD5/reset/170 1377s ok 359 /checksum/MD5/reset/171 1377s ok 360 /checksum/MD5/reset/172 1377s ok 361 /checksum/MD5/reset/173 1377s ok 362 /checksum/MD5/reset/174 1377s ok 363 /checksum/MD5/reset/175 1377s ok 364 /checksum/MD5/reset/176 1377s ok 365 /checksum/MD5/reset/177 1377s ok 366 /checksum/MD5/reset/178 1377s ok 367 /checksum/MD5/reset/179 1377s ok 368 /checksum/MD5/reset/180 1377s ok 369 /checksum/MD5/reset/181 1377s ok 370 /checksum/MD5/reset/182 1377s ok 371 /checksum/MD5/reset/183 1377s # End of reset tests 1377s # End of MD5 tests 1377s # Start of SHA1 tests 1377s ok 372 /checksum/SHA1/0 1377s ok 373 /checksum/SHA1/1 1377s ok 374 /checksum/SHA1/2 1377s ok 375 /checksum/SHA1/3 1377s ok 376 /checksum/SHA1/4 1377s ok 377 /checksum/SHA1/5 1377s ok 378 /checksum/SHA1/6 1377s ok 379 /checksum/SHA1/7 1377s ok 380 /checksum/SHA1/8 1377s ok 381 /checksum/SHA1/9 1377s ok 382 /checksum/SHA1/10 1377s ok 383 /checksum/SHA1/11 1377s ok 384 /checksum/SHA1/12 1377s ok 385 /checksum/SHA1/13 1377s ok 386 /checksum/SHA1/14 1377s ok 387 /checksum/SHA1/15 1377s ok 388 /checksum/SHA1/16 1377s ok 389 /checksum/SHA1/17 1377s ok 390 /checksum/SHA1/18 1377s ok 391 /checksum/SHA1/19 1377s ok 392 /checksum/SHA1/20 1377s ok 393 /checksum/SHA1/21 1377s ok 394 /checksum/SHA1/22 1377s ok 395 /checksum/SHA1/23 1377s ok 396 /checksum/SHA1/24 1377s ok 397 /checksum/SHA1/25 1377s ok 398 /checksum/SHA1/26 1377s ok 399 /checksum/SHA1/27 1377s ok 400 /checksum/SHA1/28 1377s ok 401 /checksum/SHA1/29 1377s ok 402 /checksum/SHA1/30 1377s ok 403 /checksum/SHA1/31 1377s ok 404 /checksum/SHA1/32 1377s ok 405 /checksum/SHA1/33 1377s ok 406 /checksum/SHA1/34 1377s ok 407 /checksum/SHA1/35 1377s ok 408 /checksum/SHA1/36 1377s ok 409 /checksum/SHA1/37 1377s ok 410 /checksum/SHA1/38 1377s ok 411 /checksum/SHA1/39 1377s ok 412 /checksum/SHA1/40 1377s ok 413 /checksum/SHA1/41 1377s ok 414 /checksum/SHA1/42 1377s ok 415 /checksum/SHA1/43 1377s ok 416 /checksum/SHA1/44 1377s ok 417 /checksum/SHA1/45 1377s ok 418 /checksum/SHA1/46 1377s ok 419 /checksum/SHA1/47 1377s ok 420 /checksum/SHA1/48 1377s ok 421 /checksum/SHA1/49 1377s ok 422 /checksum/SHA1/50 1377s ok 423 /checksum/SHA1/51 1377s ok 424 /checksum/SHA1/52 1377s ok 425 /checksum/SHA1/53 1377s ok 426 /checksum/SHA1/54 1377s ok 427 /checksum/SHA1/55 1377s ok 428 /checksum/SHA1/56 1377s ok 429 /checksum/SHA1/57 1377s ok 430 /checksum/SHA1/58 1377s ok 431 /checksum/SHA1/59 1377s ok 432 /checksum/SHA1/60 1377s ok 433 /checksum/SHA1/61 1377s ok 434 /checksum/SHA1/62 1377s ok 435 /checksum/SHA1/63 1377s ok 436 /checksum/SHA1/64 1377s ok 437 /checksum/SHA1/65 1377s ok 438 /checksum/SHA1/66 1377s ok 439 /checksum/SHA1/67 1377s ok 440 /checksum/SHA1/68 1377s ok 441 /checksum/SHA1/69 1377s ok 442 /checksum/SHA1/70 1377s ok 443 /checksum/SHA1/71 1377s ok 444 /checksum/SHA1/72 1377s ok 445 /checksum/SHA1/73 1377s ok 446 /checksum/SHA1/74 1377s ok 447 /checksum/SHA1/75 1377s ok 448 /checksum/SHA1/76 1377s ok 449 /checksum/SHA1/77 1377s ok 450 /checksum/SHA1/78 1377s ok 451 /checksum/SHA1/79 1377s ok 452 /checksum/SHA1/80 1377s ok 453 /checksum/SHA1/81 1377s ok 454 /checksum/SHA1/82 1377s ok 455 /checksum/SHA1/83 1377s ok 456 /checksum/SHA1/84 1377s ok 457 /checksum/SHA1/85 1377s ok 458 /checksum/SHA1/86 1377s ok 459 /checksum/SHA1/87 1377s ok 460 /checksum/SHA1/88 1377s ok 461 /checksum/SHA1/89 1377s ok 462 /checksum/SHA1/90 1377s ok 463 /checksum/SHA1/91 1377s ok 464 /checksum/SHA1/92 1377s ok 465 /checksum/SHA1/93 1377s ok 466 /checksum/SHA1/94 1377s ok 467 /checksum/SHA1/95 1377s ok 468 /checksum/SHA1/96 1377s ok 469 /checksum/SHA1/97 1377s ok 470 /checksum/SHA1/98 1377s ok 471 /checksum/SHA1/99 1377s ok 472 /checksum/SHA1/100 1377s ok 473 /checksum/SHA1/101 1377s ok 474 /checksum/SHA1/102 1377s ok 475 /checksum/SHA1/103 1377s ok 476 /checksum/SHA1/104 1377s ok 477 /checksum/SHA1/105 1377s ok 478 /checksum/SHA1/106 1377s ok 479 /checksum/SHA1/107 1377s ok 480 /checksum/SHA1/108 1377s ok 481 /checksum/SHA1/109 1377s ok 482 /checksum/SHA1/110 1377s ok 483 /checksum/SHA1/111 1377s ok 484 /checksum/SHA1/112 1377s ok 485 /checksum/SHA1/113 1377s ok 486 /checksum/SHA1/114 1377s ok 487 /checksum/SHA1/115 1377s ok 488 /checksum/SHA1/116 1377s ok 489 /checksum/SHA1/117 1377s ok 490 /checksum/SHA1/118 1377s ok 491 /checksum/SHA1/119 1377s ok 492 /checksum/SHA1/120 1377s ok 493 /checksum/SHA1/121 1377s ok 494 /checksum/SHA1/122 1377s ok 495 /checksum/SHA1/123 1377s ok 496 /checksum/SHA1/124 1377s ok 497 /checksum/SHA1/125 1377s ok 498 /checksum/SHA1/126 1377s ok 499 /checksum/SHA1/127 1377s ok 500 /checksum/SHA1/128 1377s ok 501 /checksum/SHA1/129 1377s ok 502 /checksum/SHA1/130 1377s ok 503 /checksum/SHA1/131 1377s ok 504 /checksum/SHA1/132 1377s ok 505 /checksum/SHA1/133 1377s ok 506 /checksum/SHA1/134 1377s ok 507 /checksum/SHA1/135 1377s ok 508 /checksum/SHA1/136 1377s ok 509 /checksum/SHA1/137 1377s ok 510 /checksum/SHA1/138 1377s ok 511 /checksum/SHA1/139 1377s ok 512 /checksum/SHA1/140 1377s ok 513 /checksum/SHA1/141 1377s ok 514 /checksum/SHA1/142 1377s ok 515 /checksum/SHA1/143 1377s ok 516 /checksum/SHA1/144 1377s ok 517 /checksum/SHA1/145 1377s ok 518 /checksum/SHA1/146 1377s ok 519 /checksum/SHA1/147 1377s ok 520 /checksum/SHA1/148 1377s ok 521 /checksum/SHA1/149 1377s ok 522 /checksum/SHA1/150 1377s ok 523 /checksum/SHA1/151 1377s ok 524 /checksum/SHA1/152 1377s ok 525 /checksum/SHA1/153 1377s ok 526 /checksum/SHA1/154 1377s ok 527 /checksum/SHA1/155 1377s ok 528 /checksum/SHA1/156 1377s ok 529 /checksum/SHA1/157 1377s ok 530 /checksum/SHA1/158 1377s ok 531 /checksum/SHA1/159 1377s ok 532 /checksum/SHA1/160 1377s ok 533 /checksum/SHA1/161 1377s ok 534 /checksum/SHA1/162 1377s ok 535 /checksum/SHA1/163 1377s ok 536 /checksum/SHA1/164 1377s ok 537 /checksum/SHA1/165 1377s ok 538 /checksum/SHA1/166 1377s ok 539 /checksum/SHA1/167 1377s ok 540 /checksum/SHA1/168 1377s ok 541 /checksum/SHA1/169 1377s ok 542 /checksum/SHA1/170 1377s ok 543 /checksum/SHA1/171 1377s ok 544 /checksum/SHA1/172 1377s ok 545 /checksum/SHA1/173 1377s ok 546 /checksum/SHA1/174 1377s ok 547 /checksum/SHA1/175 1377s ok 548 /checksum/SHA1/176 1377s ok 549 /checksum/SHA1/177 1377s ok 550 /checksum/SHA1/178 1377s ok 551 /checksum/SHA1/179 1377s ok 552 /checksum/SHA1/180 1377s ok 553 /checksum/SHA1/181 1377s ok 554 /checksum/SHA1/182 1377s ok 555 /checksum/SHA1/183 1377s ok 556 /checksum/SHA1/string 1377s ok 557 /checksum/SHA1/bytes 1377s # Start of reset tests 1377s ok 558 /checksum/SHA1/reset/0 1377s ok 559 /checksum/SHA1/reset/1 1377s ok 560 /checksum/SHA1/reset/2 1377s ok 561 /checksum/SHA1/reset/3 1377s ok 562 /checksum/SHA1/reset/4 1377s ok 563 /checksum/SHA1/reset/5 1377s ok 564 /checksum/SHA1/reset/6 1377s ok 565 /checksum/SHA1/reset/7 1377s ok 566 /checksum/SHA1/reset/8 1377s ok 567 /checksum/SHA1/reset/9 1377s ok 568 /checksum/SHA1/reset/10 1377s ok 569 /checksum/SHA1/reset/11 1377s ok 570 /checksum/SHA1/reset/12 1377s ok 571 /checksum/SHA1/reset/13 1377s ok 572 /checksum/SHA1/reset/14 1377s ok 573 /checksum/SHA1/reset/15 1377s ok 574 /checksum/SHA1/reset/16 1377s ok 575 /checksum/SHA1/reset/17 1377s ok 576 /checksum/SHA1/reset/18 1377s ok 577 /checksum/SHA1/reset/19 1377s ok 578 /checksum/SHA1/reset/20 1377s ok 579 /checksum/SHA1/reset/21 1377s ok 580 /checksum/SHA1/reset/22 1377s ok 581 /checksum/SHA1/reset/23 1377s ok 582 /checksum/SHA1/reset/24 1377s ok 583 /checksum/SHA1/reset/25 1377s ok 584 /checksum/SHA1/reset/26 1377s ok 585 /checksum/SHA1/reset/27 1377s ok 586 /checksum/SHA1/reset/28 1377s ok 587 /checksum/SHA1/reset/29 1377s ok 588 /checksum/SHA1/reset/30 1377s ok 589 /checksum/SHA1/reset/31 1377s ok 590 /checksum/SHA1/reset/32 1377s ok 591 /checksum/SHA1/reset/33 1377s ok 592 /checksum/SHA1/reset/34 1377s ok 593 /checksum/SHA1/reset/35 1377s ok 594 /checksum/SHA1/reset/36 1377s ok 595 /checksum/SHA1/reset/37 1377s ok 596 /checksum/SHA1/reset/38 1377s ok 597 /checksum/SHA1/reset/39 1377s ok 598 /checksum/SHA1/reset/40 1377s ok 599 /checksum/SHA1/reset/41 1377s ok 600 /checksum/SHA1/reset/42 1377s ok 601 /checksum/SHA1/reset/43 1377s ok 602 /checksum/SHA1/reset/44 1377s ok 603 /checksum/SHA1/reset/45 1377s ok 604 /checksum/SHA1/reset/46 1377s ok 605 /checksum/SHA1/reset/47 1377s ok 606 /checksum/SHA1/reset/48 1377s ok 607 /checksum/SHA1/reset/49 1377s ok 608 /checksum/SHA1/reset/50 1377s ok 609 /checksum/SHA1/reset/51 1377s ok 610 /checksum/SHA1/reset/52 1377s ok 611 /checksum/SHA1/reset/53 1377s ok 612 /checksum/SHA1/reset/54 1377s ok 613 /checksum/SHA1/reset/55 1377s ok 614 /checksum/SHA1/reset/56 1377s ok 615 /checksum/SHA1/reset/57 1377s ok 616 /checksum/SHA1/reset/58 1377s ok 617 /checksum/SHA1/reset/59 1377s ok 618 /checksum/SHA1/reset/60 1377s ok 619 /checksum/SHA1/reset/61 1377s ok 620 /checksum/SHA1/reset/62 1377s ok 621 /checksum/SHA1/reset/63 1377s ok 622 /checksum/SHA1/reset/64 1377s ok 623 /checksum/SHA1/reset/65 1377s ok 624 /checksum/SHA1/reset/66 1377s ok 625 /checksum/SHA1/reset/67 1377s ok 626 /checksum/SHA1/reset/68 1377s ok 627 /checksum/SHA1/reset/69 1377s ok 628 /checksum/SHA1/reset/70 1377s ok 629 /checksum/SHA1/reset/71 1377s ok 630 /checksum/SHA1/reset/72 1377s ok 631 /checksum/SHA1/reset/73 1377s ok 632 /checksum/SHA1/reset/74 1377s ok 633 /checksum/SHA1/reset/75 1377s ok 634 /checksum/SHA1/reset/76 1377s ok 635 /checksum/SHA1/reset/77 1377s ok 636 /checksum/SHA1/reset/78 1377s ok 637 /checksum/SHA1/reset/79 1377s ok 638 /checksum/SHA1/reset/80 1377s ok 639 /checksum/SHA1/reset/81 1377s ok 640 /checksum/SHA1/reset/82 1377s ok 641 /checksum/SHA1/reset/83 1377s ok 642 /checksum/SHA1/reset/84 1377s ok 643 /checksum/SHA1/reset/85 1377s ok 644 /checksum/SHA1/reset/86 1377s ok 645 /checksum/SHA1/reset/87 1377s ok 646 /checksum/SHA1/reset/88 1377s ok 647 /checksum/SHA1/reset/89 1377s ok 648 /checksum/SHA1/reset/90 1377s ok 649 /checksum/SHA1/reset/91 1377s ok 650 /checksum/SHA1/reset/92 1377s ok 651 /checksum/SHA1/reset/93 1377s ok 652 /checksum/SHA1/reset/94 1377s ok 653 /checksum/SHA1/reset/95 1377s ok 654 /checksum/SHA1/reset/96 1377s ok 655 /checksum/SHA1/reset/97 1377s ok 656 /checksum/SHA1/reset/98 1377s ok 657 /checksum/SHA1/reset/99 1377s ok 658 /checksum/SHA1/reset/100 1377s ok 659 /checksum/SHA1/reset/101 1377s ok 660 /checksum/SHA1/reset/102 1377s ok 661 /checksum/SHA1/reset/103 1377s ok 662 /checksum/SHA1/reset/104 1377s ok 663 /checksum/SHA1/reset/105 1377s ok 664 /checksum/SHA1/reset/106 1377s ok 665 /checksum/SHA1/reset/107 1377s ok 666 /checksum/SHA1/reset/108 1377s ok 667 /checksum/SHA1/reset/109 1377s ok 668 /checksum/SHA1/reset/110 1377s ok 669 /checksum/SHA1/reset/111 1377s ok 670 /checksum/SHA1/reset/112 1377s ok 671 /checksum/SHA1/reset/113 1377s ok 672 /checksum/SHA1/reset/114 1377s ok 673 /checksum/SHA1/reset/115 1377s ok 674 /checksum/SHA1/reset/116 1377s ok 675 /checksum/SHA1/reset/117 1377s ok 676 /checksum/SHA1/reset/118 1377s ok 677 /checksum/SHA1/reset/119 1377s ok 678 /checksum/SHA1/reset/120 1377s ok 679 /checksum/SHA1/reset/121 1377s ok 680 /checksum/SHA1/reset/122 1377s ok 681 /checksum/SHA1/reset/123 1377s ok 682 /checksum/SHA1/reset/124 1377s ok 683 /checksum/SHA1/reset/125 1377s ok 684 /checksum/SHA1/reset/126 1377s ok 685 /checksum/SHA1/reset/127 1377s ok 686 /checksum/SHA1/reset/128 1377s ok 687 /checksum/SHA1/reset/129 1377s ok 688 /checksum/SHA1/reset/130 1377s ok 689 /checksum/SHA1/reset/131 1377s ok 690 /checksum/SHA1/reset/132 1377s ok 691 /checksum/SHA1/reset/133 1377s ok 692 /checksum/SHA1/reset/134 1377s ok 693 /checksum/SHA1/reset/135 1377s ok 694 /checksum/SHA1/reset/136 1377s ok 695 /checksum/SHA1/reset/137 1377s ok 696 /checksum/SHA1/reset/138 1377s ok 697 /checksum/SHA1/reset/139 1377s ok 698 /checksum/SHA1/reset/140 1377s ok 699 /checksum/SHA1/reset/141 1377s ok 700 /checksum/SHA1/reset/142 1377s ok 701 /checksum/SHA1/reset/143 1377s ok 702 /checksum/SHA1/reset/144 1377s ok 703 /checksum/SHA1/reset/145 1377s ok 704 /checksum/SHA1/reset/146 1377s ok 705 /checksum/SHA1/reset/147 1377s ok 706 /checksum/SHA1/reset/148 1377s ok 707 /checksum/SHA1/reset/149 1377s ok 708 /checksum/SHA1/reset/150 1377s ok 709 /checksum/SHA1/reset/151 1377s ok 710 /checksum/SHA1/reset/152 1377s ok 711 /checksum/SHA1/reset/153 1377s ok 712 /checksum/SHA1/reset/154 1377s ok 713 /checksum/SHA1/reset/155 1377s ok 714 /checksum/SHA1/reset/156 1377s ok 715 /checksum/SHA1/reset/157 1377s ok 716 /checksum/SHA1/reset/158 1377s ok 717 /checksum/SHA1/reset/159 1377s ok 718 /checksum/SHA1/reset/160 1377s ok 719 /checksum/SHA1/reset/161 1377s ok 720 /checksum/SHA1/reset/162 1377s ok 721 /checksum/SHA1/reset/163 1377s ok 722 /checksum/SHA1/reset/164 1377s ok 723 /checksum/SHA1/reset/165 1377s ok 724 /checksum/SHA1/reset/166 1377s ok 725 /checksum/SHA1/reset/167 1377s ok 726 /checksum/SHA1/reset/168 1377s ok 727 /checksum/SHA1/reset/169 1377s ok 728 /checksum/SHA1/reset/170 1377s ok 729 /checksum/SHA1/reset/171 1377s ok 730 /checksum/SHA1/reset/172 1377s ok 731 /checksum/SHA1/reset/173 1377s ok 732 /checksum/SHA1/reset/174 1377s ok 733 /checksum/SHA1/reset/175 1377s ok 734 /checksum/SHA1/reset/176 1377s ok 735 /checksum/SHA1/reset/177 1377s ok 736 /checksum/SHA1/reset/178 1377s ok 737 /checksum/SHA1/reset/179 1377s ok 738 /checksum/SHA1/reset/180 1377s ok 739 /checksum/SHA1/reset/181 1377s ok 740 /checksum/SHA1/reset/182 1377s ok 741 /checksum/SHA1/reset/183 1377s # End of reset tests 1377s # End of SHA1 tests 1377s # Start of SHA256 tests 1377s ok 742 /checksum/SHA256/0 1377s ok 743 /checksum/SHA256/1 1377s ok 744 /checksum/SHA256/2 1377s ok 745 /checksum/SHA256/3 1377s ok 746 /checksum/SHA256/4 1377s ok 747 /checksum/SHA256/5 1377s ok 748 /checksum/SHA256/6 1377s ok 749 /checksum/SHA256/7 1377s ok 750 /checksum/SHA256/8 1377s ok 751 /checksum/SHA256/9 1377s ok 752 /checksum/SHA256/10 1377s ok 753 /checksum/SHA256/11 1377s ok 754 /checksum/SHA256/12 1377s ok 755 /checksum/SHA256/13 1377s ok 756 /checksum/SHA256/14 1377s ok 757 /checksum/SHA256/15 1377s ok 758 /checksum/SHA256/16 1377s ok 759 /checksum/SHA256/17 1377s ok 760 /checksum/SHA256/18 1377s ok 761 /checksum/SHA256/19 1377s ok 762 /checksum/SHA256/20 1377s ok 763 /checksum/SHA256/21 1377s ok 764 /checksum/SHA256/22 1377s ok 765 /checksum/SHA256/23 1377s ok 766 /checksum/SHA256/24 1377s ok 767 /checksum/SHA256/25 1377s ok 768 /checksum/SHA256/26 1377s ok 769 /checksum/SHA256/27 1377s ok 770 /checksum/SHA256/28 1377s ok 771 /checksum/SHA256/29 1377s ok 772 /checksum/SHA256/30 1377s ok 773 /checksum/SHA256/31 1377s ok 774 /checksum/SHA256/32 1377s ok 775 /checksum/SHA256/33 1377s ok 776 /checksum/SHA256/34 1377s ok 777 /checksum/SHA256/35 1377s ok 778 /checksum/SHA256/36 1377s ok 779 /checksum/SHA256/37 1377s ok 780 /checksum/SHA256/38 1377s ok 781 /checksum/SHA256/39 1377s ok 782 /checksum/SHA256/40 1377s ok 783 /checksum/SHA256/41 1377s ok 784 /checksum/SHA256/42 1377s ok 785 /checksum/SHA256/43 1377s ok 786 /checksum/SHA256/44 1377s ok 787 /checksum/SHA256/45 1377s ok 788 /checksum/SHA256/46 1377s ok 789 /checksum/SHA256/47 1377s ok 790 /checksum/SHA256/48 1377s ok 791 /checksum/SHA256/49 1377s ok 792 /checksum/SHA256/50 1377s ok 793 /checksum/SHA256/51 1377s ok 794 /checksum/SHA256/52 1377s ok 795 /checksum/SHA256/53 1377s ok 796 /checksum/SHA256/54 1377s ok 797 /checksum/SHA256/55 1377s ok 798 /checksum/SHA256/56 1377s ok 799 /checksum/SHA256/57 1377s ok 800 /checksum/SHA256/58 1377s ok 801 /checksum/SHA256/59 1377s ok 802 /checksum/SHA256/60 1377s ok 803 /checksum/SHA256/61 1377s ok 804 /checksum/SHA256/62 1377s ok 805 /checksum/SHA256/63 1377s ok 806 /checksum/SHA256/64 1377s ok 807 /checksum/SHA256/65 1377s ok 808 /checksum/SHA256/66 1377s ok 809 /checksum/SHA256/67 1377s ok 810 /checksum/SHA256/68 1377s ok 811 /checksum/SHA256/69 1377s ok 812 /checksum/SHA256/70 1377s ok 813 /checksum/SHA256/71 1377s ok 814 /checksum/SHA256/72 1377s ok 815 /checksum/SHA256/73 1377s ok 816 /checksum/SHA256/74 1377s ok 817 /checksum/SHA256/75 1377s ok 818 /checksum/SHA256/76 1377s ok 819 /checksum/SHA256/77 1377s ok 820 /checksum/SHA256/78 1377s ok 821 /checksum/SHA256/79 1377s ok 822 /checksum/SHA256/80 1377s ok 823 /checksum/SHA256/81 1377s ok 824 /checksum/SHA256/82 1377s ok 825 /checksum/SHA256/83 1377s ok 826 /checksum/SHA256/84 1377s ok 827 /checksum/SHA256/85 1377s ok 828 /checksum/SHA256/86 1377s ok 829 /checksum/SHA256/87 1377s ok 830 /checksum/SHA256/88 1377s ok 831 /checksum/SHA256/89 1377s ok 832 /checksum/SHA256/90 1377s ok 833 /checksum/SHA256/91 1377s ok 834 /checksum/SHA256/92 1377s ok 835 /checksum/SHA256/93 1377s ok 836 /checksum/SHA256/94 1377s ok 837 /checksum/SHA256/95 1377s ok 838 /checksum/SHA256/96 1377s ok 839 /checksum/SHA256/97 1377s ok 840 /checksum/SHA256/98 1377s ok 841 /checksum/SHA256/99 1377s ok 842 /checksum/SHA256/100 1377s ok 843 /checksum/SHA256/101 1377s ok 844 /checksum/SHA256/102 1377s ok 845 /checksum/SHA256/103 1377s ok 846 /checksum/SHA256/104 1377s ok 847 /checksum/SHA256/105 1377s ok 848 /checksum/SHA256/106 1377s ok 849 /checksum/SHA256/107 1377s ok 850 /checksum/SHA256/108 1377s ok 851 /checksum/SHA256/109 1377s ok 852 /checksum/SHA256/110 1377s ok 853 /checksum/SHA256/111 1377s ok 854 /checksum/SHA256/112 1377s ok 855 /checksum/SHA256/113 1377s ok 856 /checksum/SHA256/114 1377s ok 857 /checksum/SHA256/115 1377s ok 858 /checksum/SHA256/116 1377s ok 859 /checksum/SHA256/117 1377s ok 860 /checksum/SHA256/118 1377s ok 861 /checksum/SHA256/119 1377s ok 862 /checksum/SHA256/120 1377s ok 863 /checksum/SHA256/121 1377s ok 864 /checksum/SHA256/122 1377s ok 865 /checksum/SHA256/123 1377s ok 866 /checksum/SHA256/124 1377s ok 867 /checksum/SHA256/125 1377s ok 868 /checksum/SHA256/126 1377s ok 869 /checksum/SHA256/127 1377s ok 870 /checksum/SHA256/128 1377s ok 871 /checksum/SHA256/129 1377s ok 872 /checksum/SHA256/130 1377s ok 873 /checksum/SHA256/131 1377s ok 874 /checksum/SHA256/132 1377s ok 875 /checksum/SHA256/133 1377s ok 876 /checksum/SHA256/134 1377s ok 877 /checksum/SHA256/135 1377s ok 878 /checksum/SHA256/136 1377s ok 879 /checksum/SHA256/137 1377s ok 880 /checksum/SHA256/138 1377s ok 881 /checksum/SHA256/139 1377s ok 882 /checksum/SHA256/140 1377s ok 883 /checksum/SHA256/141 1377s ok 884 /checksum/SHA256/142 1377s ok 885 /checksum/SHA256/143 1377s ok 886 /checksum/SHA256/144 1377s ok 887 /checksum/SHA256/145 1377s ok 888 /checksum/SHA256/146 1377s ok 889 /checksum/SHA256/147 1377s ok 890 /checksum/SHA256/148 1377s ok 891 /checksum/SHA256/149 1377s ok 892 /checksum/SHA256/150 1377s ok 893 /checksum/SHA256/151 1377s ok 894 /checksum/SHA256/152 1377s ok 895 /checksum/SHA256/153 1377s ok 896 /checksum/SHA256/154 1377s ok 897 /checksum/SHA256/155 1377s ok 898 /checksum/SHA256/156 1377s ok 899 /checksum/SHA256/157 1377s ok 900 /checksum/SHA256/158 1377s ok 901 /checksum/SHA256/159 1377s ok 902 /checksum/SHA256/160 1377s ok 903 /checksum/SHA256/161 1377s ok 904 /checksum/SHA256/162 1377s ok 905 /checksum/SHA256/163 1377s ok 906 /checksum/SHA256/164 1377s ok 907 /checksum/SHA256/165 1377s ok 908 /checksum/SHA256/166 1377s ok 909 /checksum/SHA256/167 1377s ok 910 /checksum/SHA256/168 1377s ok 911 /checksum/SHA256/169 1377s ok 912 /checksum/SHA256/170 1377s ok 913 /checksum/SHA256/171 1377s ok 914 /checksum/SHA256/172 1377s ok 915 /checksum/SHA256/173 1377s ok 916 /checksum/SHA256/174 1377s ok 917 /checksum/SHA256/175 1377s ok 918 /checksum/SHA256/176 1377s ok 919 /checksum/SHA256/177 1377s ok 920 /checksum/SHA256/178 1377s ok 921 /checksum/SHA256/179 1377s ok 922 /checksum/SHA256/180 1377s ok 923 /checksum/SHA256/181 1377s ok 924 /checksum/SHA256/182 1377s ok 925 /checksum/SHA256/183 1377s ok 926 /checksum/SHA256/string 1377s ok 927 /checksum/SHA256/bytes 1377s # Start of reset tests 1377s ok 928 /checksum/SHA256/reset/0 1377s ok 929 /checksum/SHA256/reset/1 1377s ok 930 /checksum/SHA256/reset/2 1377s ok 931 /checksum/SHA256/reset/3 1377s ok 932 /checksum/SHA256/reset/4 1377s ok 933 /checksum/SHA256/reset/5 1377s ok 934 /checksum/SHA256/reset/6 1377s ok 935 /checksum/SHA256/reset/7 1377s ok 936 /checksum/SHA256/reset/8 1377s ok 937 /checksum/SHA256/reset/9 1377s ok 938 /checksum/SHA256/reset/10 1377s ok 939 /checksum/SHA256/reset/11 1377s ok 940 /checksum/SHA256/reset/12 1377s ok 941 /checksum/SHA256/reset/13 1377s ok 942 /checksum/SHA256/reset/14 1377s ok 943 /checksum/SHA256/reset/15 1377s ok 944 /checksum/SHA256/reset/16 1377s ok 945 /checksum/SHA256/reset/17 1377s ok 946 /checksum/SHA256/reset/18 1377s ok 947 /checksum/SHA256/reset/19 1377s ok 948 /checksum/SHA256/reset/20 1377s ok 949 /checksum/SHA256/reset/21 1377s ok 950 /checksum/SHA256/reset/22 1377s ok 951 /checksum/SHA256/reset/23 1377s ok 952 /checksum/SHA256/reset/24 1377s ok 953 /checksum/SHA256/reset/25 1377s ok 954 /checksum/SHA256/reset/26 1377s ok 955 /checksum/SHA256/reset/27 1377s ok 956 /checksum/SHA256/reset/28 1377s ok 957 /checksum/SHA256/reset/29 1377s ok 958 /checksum/SHA256/reset/30 1377s ok 959 /checksum/SHA256/reset/31 1377s ok 960 /checksum/SHA256/reset/32 1377s ok 961 /checksum/SHA256/reset/33 1377s ok 962 /checksum/SHA256/reset/34 1377s ok 963 /checksum/SHA256/reset/35 1377s ok 964 /checksum/SHA256/reset/36 1377s ok 965 /checksum/SHA256/reset/37 1377s ok 966 /checksum/SHA256/reset/38 1377s ok 967 /checksum/SHA256/reset/39 1377s ok 968 /checksum/SHA256/reset/40 1377s ok 969 /checksum/SHA256/reset/41 1377s ok 970 /checksum/SHA256/reset/42 1377s ok 971 /checksum/SHA256/reset/43 1377s ok 972 /checksum/SHA256/reset/44 1377s ok 973 /checksum/SHA256/reset/45 1377s ok 974 /checksum/SHA256/reset/46 1377s ok 975 /checksum/SHA256/reset/47 1377s ok 976 /checksum/SHA256/reset/48 1377s ok 977 /checksum/SHA256/reset/49 1377s ok 978 /checksum/SHA256/reset/50 1377s ok 979 /checksum/SHA256/reset/51 1377s ok 980 /checksum/SHA256/reset/52 1377s ok 981 /checksum/SHA256/reset/53 1377s ok 982 /checksum/SHA256/reset/54 1377s ok 983 /checksum/SHA256/reset/55 1377s ok 984 /checksum/SHA256/reset/56 1377s ok 985 /checksum/SHA256/reset/57 1377s ok 986 /checksum/SHA256/reset/58 1377s ok 987 /checksum/SHA256/reset/59 1377s ok 988 /checksum/SHA256/reset/60 1377s ok 989 /checksum/SHA256/reset/61 1377s ok 990 /checksum/SHA256/reset/62 1377s ok 991 /checksum/SHA256/reset/63 1377s ok 992 /checksum/SHA256/reset/64 1377s ok 993 /checksum/SHA256/reset/65 1377s ok 994 /checksum/SHA256/reset/66 1377s ok 995 /checksum/SHA256/reset/67 1377s ok 996 /checksum/SHA256/reset/68 1377s ok 997 /checksum/SHA256/reset/69 1377s ok 998 /checksum/SHA256/reset/70 1377s ok 999 /checksum/SHA256/reset/71 1377s ok 1000 /checksum/SHA256/reset/72 1377s ok 1001 /checksum/SHA256/reset/73 1377s ok 1002 /checksum/SHA256/reset/74 1377s ok 1003 /checksum/SHA256/reset/75 1377s ok 1004 /checksum/SHA256/reset/76 1377s ok 1005 /checksum/SHA256/reset/77 1377s ok 1006 /checksum/SHA256/reset/78 1377s ok 1007 /checksum/SHA256/reset/79 1377s ok 1008 /checksum/SHA256/reset/80 1377s ok 1009 /checksum/SHA256/reset/81 1377s ok 1010 /checksum/SHA256/reset/82 1377s ok 1011 /checksum/SHA256/reset/83 1377s ok 1012 /checksum/SHA256/reset/84 1377s ok 1013 /checksum/SHA256/reset/85 1377s ok 1014 /checksum/SHA256/reset/86 1377s ok 1015 /checksum/SHA256/reset/87 1377s ok 1016 /checksum/SHA256/reset/88 1377s ok 1017 /checksum/SHA256/reset/89 1377s ok 1018 /checksum/SHA256/reset/90 1377s ok 1019 /checksum/SHA256/reset/91 1377s ok 1020 /checksum/SHA256/reset/92 1377s ok 1021 /checksum/SHA256/reset/93 1377s ok 1022 /checksum/SHA256/reset/94 1377s ok 1023 /checksum/SHA256/reset/95 1377s ok 1024 /checksum/SHA256/reset/96 1377s ok 1025 /checksum/SHA256/reset/97 1377s ok 1026 /checksum/SHA256/reset/98 1377s ok 1027 /checksum/SHA256/reset/99 1377s ok 1028 /checksum/SHA256/reset/100 1377s ok 1029 /checksum/SHA256/reset/101 1377s ok 1030 /checksum/SHA256/reset/102 1377s ok 1031 /checksum/SHA256/reset/103 1377s ok 1032 /checksum/SHA256/reset/104 1377s ok 1033 /checksum/SHA256/reset/105 1377s ok 1034 /checksum/SHA256/reset/106 1377s ok 1035 /checksum/SHA256/reset/107 1377s ok 1036 /checksum/SHA256/reset/108 1377s ok 1037 /checksum/SHA256/reset/109 1377s ok 1038 /checksum/SHA256/reset/110 1377s ok 1039 /checksum/SHA256/reset/111 1377s ok 1040 /checksum/SHA256/reset/112 1377s ok 1041 /checksum/SHA256/reset/113 1377s ok 1042 /checksum/SHA256/reset/114 1377s ok 1043 /checksum/SHA256/reset/115 1377s ok 1044 /checksum/SHA256/reset/116 1377s ok 1045 /checksum/SHA256/reset/117 1377s ok 1046 /checksum/SHA256/reset/118 1377s ok 1047 /checksum/SHA256/reset/119 1377s ok 1048 /checksum/SHA256/reset/120 1377s ok 1049 /checksum/SHA256/reset/121 1377s ok 1050 /checksum/SHA256/reset/122 1377s ok 1051 /checksum/SHA256/reset/123 1377s ok 1052 /checksum/SHA256/reset/124 1377s ok 1053 /checksum/SHA256/reset/125 1377s ok 1054 /checksum/SHA256/reset/126 1377s ok 1055 /checksum/SHA256/reset/127 1377s ok 1056 /checksum/SHA256/reset/128 1377s ok 1057 /checksum/SHA256/reset/129 1377s ok 1058 /checksum/SHA256/reset/130 1377s ok 1059 /checksum/SHA256/reset/131 1377s ok 1060 /checksum/SHA256/reset/132 1377s ok 1061 /checksum/SHA256/reset/133 1377s ok 1062 /checksum/SHA256/reset/134 1377s ok 1063 /checksum/SHA256/reset/135 1377s ok 1064 /checksum/SHA256/reset/136 1377s ok 1065 /checksum/SHA256/reset/137 1377s ok 1066 /checksum/SHA256/reset/138 1377s ok 1067 /checksum/SHA256/reset/139 1377s ok 1068 /checksum/SHA256/reset/140 1377s ok 1069 /checksum/SHA256/reset/141 1377s ok 1070 /checksum/SHA256/reset/142 1377s ok 1071 /checksum/SHA256/reset/143 1377s ok 1072 /checksum/SHA256/reset/144 1377s ok 1073 /checksum/SHA256/reset/145 1377s ok 1074 /checksum/SHA256/reset/146 1377s ok 1075 /checksum/SHA256/reset/147 1377s ok 1076 /checksum/SHA256/reset/148 1377s ok 1077 /checksum/SHA256/reset/149 1377s ok 1078 /checksum/SHA256/reset/150 1377s ok 1079 /checksum/SHA256/reset/151 1377s ok 1080 /checksum/SHA256/reset/152 1377s ok 1081 /checksum/SHA256/reset/153 1377s ok 1082 /checksum/SHA256/reset/154 1377s ok 1083 /checksum/SHA256/reset/155 1377s ok 1084 /checksum/SHA256/reset/156 1377s ok 1085 /checksum/SHA256/reset/157 1377s ok 1086 /checksum/SHA256/reset/158 1377s ok 1087 /checksum/SHA256/reset/159 1377s ok 1088 /checksum/SHA256/reset/160 1377s ok 1089 /checksum/SHA256/reset/161 1377s ok 1090 /checksum/SHA256/reset/162 1377s ok 1091 /checksum/SHA256/reset/163 1377s ok 1092 /checksum/SHA256/reset/164 1377s ok 1093 /checksum/SHA256/reset/165 1377s ok 1094 /checksum/SHA256/reset/166 1377s ok 1095 /checksum/SHA256/reset/167 1377s ok 1096 /checksum/SHA256/reset/168 1377s ok 1097 /checksum/SHA256/reset/169 1377s ok 1098 /checksum/SHA256/reset/170 1377s ok 1099 /checksum/SHA256/reset/171 1377s ok 1100 /checksum/SHA256/reset/172 1377s ok 1101 /checksum/SHA256/reset/173 1377s ok 1102 /checksum/SHA256/reset/174 1377s ok 1103 /checksum/SHA256/reset/175 1377s ok 1104 /checksum/SHA256/reset/176 1377s ok 1105 /checksum/SHA256/reset/177 1377s ok 1106 /checksum/SHA256/reset/178 1377s ok 1107 /checksum/SHA256/reset/179 1377s ok 1108 /checksum/SHA256/reset/180 1377s ok 1109 /checksum/SHA256/reset/181 1377s ok 1110 /checksum/SHA256/reset/182 1377s ok 1111 /checksum/SHA256/reset/183 1377s # End of reset tests 1377s # End of SHA256 tests 1377s # Start of SHA384 tests 1377s ok 1112 /checksum/SHA384/0 1377s ok 1113 /checksum/SHA384/1 1377s ok 1114 /checksum/SHA384/2 1377s ok 1115 /checksum/SHA384/3 1377s ok 1116 /checksum/SHA384/4 1377s ok 1117 /checksum/SHA384/5 1377s ok 1118 /checksum/SHA384/6 1377s ok 1119 /checksum/SHA384/7 1377s ok 1120 /checksum/SHA384/8 1377s ok 1121 /checksum/SHA384/9 1377s ok 1122 /checksum/SHA384/10 1377s ok 1123 /checksum/SHA384/11 1377s ok 1124 /checksum/SHA384/12 1377s ok 1125 /checksum/SHA384/13 1377s ok 1126 /checksum/SHA384/14 1377s ok 1127 /checksum/SHA384/15 1377s ok 1128 /checksum/SHA384/16 1377s ok 1129 /checksum/SHA384/17 1377s ok 1130 /checksum/SHA384/18 1377s ok 1131 /checksum/SHA384/19 1377s ok 1132 /checksum/SHA384/20 1377s ok 1133 /checksum/SHA384/21 1377s ok 1134 /checksum/SHA384/22 1377s ok 1135 /checksum/SHA384/23 1377s ok 1136 /checksum/SHA384/24 1377s ok 1137 /checksum/SHA384/25 1377s ok 1138 /checksum/SHA384/26 1377s ok 1139 /checksum/SHA384/27 1377s ok 1140 /checksum/SHA384/28 1377s ok 1141 /checksum/SHA384/29 1377s ok 1142 /checksum/SHA384/30 1377s ok 1143 /checksum/SHA384/31 1377s ok 1144 /checksum/SHA384/32 1377s ok 1145 /checksum/SHA384/33 1377s ok 1146 /checksum/SHA384/34 1377s ok 1147 /checksum/SHA384/35 1377s ok 1148 /checksum/SHA384/36 1377s ok 1149 /checksum/SHA384/37 1377s ok 1150 /checksum/SHA384/38 1377s ok 1151 /checksum/SHA384/39 1377s ok 1152 /checksum/SHA384/40 1377s ok 1153 /checksum/SHA384/41 1377s ok 1154 /checksum/SHA384/42 1377s ok 1155 /checksum/SHA384/43 1377s ok 1156 /checksum/SHA384/44 1377s ok 1157 /checksum/SHA384/45 1377s ok 1158 /checksum/SHA384/46 1377s ok 1159 /checksum/SHA384/47 1377s ok 1160 /checksum/SHA384/48 1377s ok 1161 /checksum/SHA384/49 1377s ok 1162 /checksum/SHA384/50 1377s ok 1163 /checksum/SHA384/51 1377s ok 1164 /checksum/SHA384/52 1377s ok 1165 /checksum/SHA384/53 1377s ok 1166 /checksum/SHA384/54 1377s ok 1167 /checksum/SHA384/55 1377s ok 1168 /checksum/SHA384/56 1377s ok 1169 /checksum/SHA384/57 1377s ok 1170 /checksum/SHA384/58 1377s ok 1171 /checksum/SHA384/59 1377s ok 1172 /checksum/SHA384/60 1377s ok 1173 /checksum/SHA384/61 1377s ok 1174 /checksum/SHA384/62 1377s ok 1175 /checksum/SHA384/63 1377s ok 1176 /checksum/SHA384/64 1377s ok 1177 /checksum/SHA384/65 1377s ok 1178 /checksum/SHA384/66 1377s ok 1179 /checksum/SHA384/67 1377s ok 1180 /checksum/SHA384/68 1377s ok 1181 /checksum/SHA384/69 1377s ok 1182 /checksum/SHA384/70 1377s ok 1183 /checksum/SHA384/71 1377s ok 1184 /checksum/SHA384/72 1377s ok 1185 /checksum/SHA384/73 1377s ok 1186 /checksum/SHA384/74 1377s ok 1187 /checksum/SHA384/75 1377s ok 1188 /checksum/SHA384/76 1377s ok 1189 /checksum/SHA384/77 1377s ok 1190 /checksum/SHA384/78 1377s ok 1191 /checksum/SHA384/79 1377s ok 1192 /checksum/SHA384/80 1377s ok 1193 /checksum/SHA384/81 1377s ok 1194 /checksum/SHA384/82 1377s ok 1195 /checksum/SHA384/83 1377s ok 1196 /checksum/SHA384/84 1377s ok 1197 /checksum/SHA384/85 1377s ok 1198 /checksum/SHA384/86 1377s ok 1199 /checksum/SHA384/87 1377s ok 1200 /checksum/SHA384/88 1377s ok 1201 /checksum/SHA384/89 1377s ok 1202 /checksum/SHA384/90 1377s ok 1203 /checksum/SHA384/91 1377s ok 1204 /checksum/SHA384/92 1377s ok 1205 /checksum/SHA384/93 1377s ok 1206 /checksum/SHA384/94 1377s ok 1207 /checksum/SHA384/95 1377s ok 1208 /checksum/SHA384/96 1377s ok 1209 /checksum/SHA384/97 1377s ok 1210 /checksum/SHA384/98 1377s ok 1211 /checksum/SHA384/99 1377s ok 1212 /checksum/SHA384/100 1377s ok 1213 /checksum/SHA384/101 1377s ok 1214 /checksum/SHA384/102 1377s ok 1215 /checksum/SHA384/103 1377s ok 1216 /checksum/SHA384/104 1377s ok 1217 /checksum/SHA384/105 1377s ok 1218 /checksum/SHA384/106 1377s ok 1219 /checksum/SHA384/107 1377s ok 1220 /checksum/SHA384/108 1377s ok 1221 /checksum/SHA384/109 1377s ok 1222 /checksum/SHA384/110 1377s ok 1223 /checksum/SHA384/111 1377s ok 1224 /checksum/SHA384/112 1377s ok 1225 /checksum/SHA384/113 1377s ok 1226 /checksum/SHA384/114 1377s ok 1227 /checksum/SHA384/115 1377s ok 1228 /checksum/SHA384/116 1377s ok 1229 /checksum/SHA384/117 1377s ok 1230 /checksum/SHA384/118 1377s ok 1231 /checksum/SHA384/119 1377s ok 1232 /checksum/SHA384/120 1377s ok 1233 /checksum/SHA384/121 1377s ok 1234 /checksum/SHA384/122 1377s ok 1235 /checksum/SHA384/123 1377s ok 1236 /checksum/SHA384/124 1377s ok 1237 /checksum/SHA384/125 1377s ok 1238 /checksum/SHA384/126 1377s ok 1239 /checksum/SHA384/127 1377s ok 1240 /checksum/SHA384/128 1377s ok 1241 /checksum/SHA384/129 1377s ok 1242 /checksum/SHA384/130 1377s ok 1243 /checksum/SHA384/131 1377s ok 1244 /checksum/SHA384/132 1377s ok 1245 /checksum/SHA384/133 1377s ok 1246 /checksum/SHA384/134 1377s ok 1247 /checksum/SHA384/135 1377s ok 1248 /checksum/SHA384/136 1377s ok 1249 /checksum/SHA384/137 1377s ok 1250 /checksum/SHA384/138 1377s ok 1251 /checksum/SHA384/139 1377s ok 1252 /checksum/SHA384/140 1377s ok 1253 /checksum/SHA384/141 1377s ok 1254 /checksum/SHA384/142 1377s ok 1255 /checksum/SHA384/143 1377s ok 1256 /checksum/SHA384/144 1377s ok 1257 /checksum/SHA384/145 1377s ok 1258 /checksum/SHA384/146 1377s ok 1259 /checksum/SHA384/147 1377s ok 1260 /checksum/SHA384/148 1377s ok 1261 /checksum/SHA384/149 1377s ok 1262 /checksum/SHA384/150 1377s ok 1263 /checksum/SHA384/151 1377s ok 1264 /checksum/SHA384/152 1377s ok 1265 /checksum/SHA384/153 1377s ok 1266 /checksum/SHA384/154 1377s ok 1267 /checksum/SHA384/155 1377s ok 1268 /checksum/SHA384/156 1377s ok 1269 /checksum/SHA384/157 1377s ok 1270 /checksum/SHA384/158 1377s ok 1271 /checksum/SHA384/159 1377s ok 1272 /checksum/SHA384/160 1377s ok 1273 /checksum/SHA384/161 1377s ok 1274 /checksum/SHA384/162 1377s ok 1275 /checksum/SHA384/163 1377s ok 1276 /checksum/SHA384/164 1377s ok 1277 /checksum/SHA384/165 1377s ok 1278 /checksum/SHA384/166 1377s ok 1279 /checksum/SHA384/167 1377s ok 1280 /checksum/SHA384/168 1377s ok 1281 /checksum/SHA384/169 1377s ok 1282 /checksum/SHA384/170 1377s ok 1283 /checksum/SHA384/171 1377s ok 1284 /checksum/SHA384/172 1377s ok 1285 /checksum/SHA384/173 1377s ok 1286 /checksum/SHA384/174 1377s ok 1287 /checksum/SHA384/175 1377s ok 1288 /checksum/SHA384/176 1377s ok 1289 /checksum/SHA384/177 1377s ok 1290 /checksum/SHA384/178 1377s ok 1291 /checksum/SHA384/179 1377s ok 1292 /checksum/SHA384/180 1377s ok 1293 /checksum/SHA384/181 1377s ok 1294 /checksum/SHA384/182 1377s ok 1295 /checksum/SHA384/183 1377s ok 1296 /checksum/SHA384/string 1377s ok 1297 /checksum/SHA384/bytes 1377s # Start of reset tests 1377s ok 1298 /checksum/SHA384/reset/0 1377s ok 1299 /checksum/SHA384/reset/1 1377s ok 1300 /checksum/SHA384/reset/2 1377s ok 1301 /checksum/SHA384/reset/3 1377s ok 1302 /checksum/SHA384/reset/4 1377s ok 1303 /checksum/SHA384/reset/5 1377s ok 1304 /checksum/SHA384/reset/6 1377s ok 1305 /checksum/SHA384/reset/7 1377s ok 1306 /checksum/SHA384/reset/8 1377s ok 1307 /checksum/SHA384/reset/9 1377s ok 1308 /checksum/SHA384/reset/10 1377s ok 1309 /checksum/SHA384/reset/11 1377s ok 1310 /checksum/SHA384/reset/12 1377s ok 1311 /checksum/SHA384/reset/13 1377s ok 1312 /checksum/SHA384/reset/14 1377s ok 1313 /checksum/SHA384/reset/15 1377s ok 1314 /checksum/SHA384/reset/16 1377s ok 1315 /checksum/SHA384/reset/17 1377s ok 1316 /checksum/SHA384/reset/18 1377s ok 1317 /checksum/SHA384/reset/19 1377s ok 1318 /checksum/SHA384/reset/20 1377s ok 1319 /checksum/SHA384/reset/21 1377s ok 1320 /checksum/SHA384/reset/22 1377s ok 1321 /checksum/SHA384/reset/23 1377s ok 1322 /checksum/SHA384/reset/24 1377s ok 1323 /checksum/SHA384/reset/25 1377s ok 1324 /checksum/SHA384/reset/26 1377s ok 1325 /checksum/SHA384/reset/27 1377s ok 1326 /checksum/SHA384/reset/28 1377s ok 1327 /checksum/SHA384/reset/29 1377s ok 1328 /checksum/SHA384/reset/30 1377s ok 1329 /checksum/SHA384/reset/31 1377s ok 1330 /checksum/SHA384/reset/32 1377s ok 1331 /checksum/SHA384/reset/33 1377s ok 1332 /checksum/SHA384/reset/34 1377s ok 1333 /checksum/SHA384/reset/35 1377s ok 1334 /checksum/SHA384/reset/36 1377s ok 1335 /checksum/SHA384/reset/37 1377s ok 1336 /checksum/SHA384/reset/38 1377s ok 1337 /checksum/SHA384/reset/39 1377s ok 1338 /checksum/SHA384/reset/40 1377s ok 1339 /checksum/SHA384/reset/41 1377s ok 1340 /checksum/SHA384/reset/42 1377s ok 1341 /checksum/SHA384/reset/43 1377s ok 1342 /checksum/SHA384/reset/44 1377s ok 1343 /checksum/SHA384/reset/45 1377s ok 1344 /checksum/SHA384/reset/46 1377s ok 1345 /checksum/SHA384/reset/47 1377s ok 1346 /checksum/SHA384/reset/48 1377s ok 1347 /checksum/SHA384/reset/49 1377s ok 1348 /checksum/SHA384/reset/50 1377s ok 1349 /checksum/SHA384/reset/51 1377s ok 1350 /checksum/SHA384/reset/52 1377s ok 1351 /checksum/SHA384/reset/53 1377s ok 1352 /checksum/SHA384/reset/54 1377s ok 1353 /checksum/SHA384/reset/55 1377s ok 1354 /checksum/SHA384/reset/56 1377s ok 1355 /checksum/SHA384/reset/57 1377s ok 1356 /checksum/SHA384/reset/58 1377s ok 1357 /checksum/SHA384/reset/59 1377s ok 1358 /checksum/SHA384/reset/60 1377s ok 1359 /checksum/SHA384/reset/61 1377s ok 1360 /checksum/SHA384/reset/62 1377s ok 1361 /checksum/SHA384/reset/63 1377s ok 1362 /checksum/SHA384/reset/64 1377s ok 1363 /checksum/SHA384/reset/65 1377s ok 1364 /checksum/SHA384/reset/66 1377s ok 1365 /checksum/SHA384/reset/67 1377s ok 1366 /checksum/SHA384/reset/68 1377s ok 1367 /checksum/SHA384/reset/69 1377s ok 1368 /checksum/SHA384/reset/70 1377s ok 1369 /checksum/SHA384/reset/71 1377s ok 1370 /checksum/SHA384/reset/72 1377s ok 1371 /checksum/SHA384/reset/73 1377s ok 1372 /checksum/SHA384/reset/74 1377s ok 1373 /checksum/SHA384/reset/75 1377s ok 1374 /checksum/SHA384/reset/76 1377s ok 1375 /checksum/SHA384/reset/77 1377s ok 1376 /checksum/SHA384/reset/78 1377s ok 1377 /checksum/SHA384/reset/79 1377s ok 1378 /checksum/SHA384/reset/80 1377s ok 1379 /checksum/SHA384/reset/81 1377s ok 1380 /checksum/SHA384/reset/82 1377s ok 1381 /checksum/SHA384/reset/83 1377s ok 1382 /checksum/SHA384/reset/84 1377s ok 1383 /checksum/SHA384/reset/85 1377s ok 1384 /checksum/SHA384/reset/86 1377s ok 1385 /checksum/SHA384/reset/87 1377s ok 1386 /checksum/SHA384/reset/88 1377s ok 1387 /checksum/SHA384/reset/89 1377s ok 1388 /checksum/SHA384/reset/90 1377s ok 1389 /checksum/SHA384/reset/91 1377s ok 1390 /checksum/SHA384/reset/92 1377s ok 1391 /checksum/SHA384/reset/93 1377s ok 1392 /checksum/SHA384/reset/94 1377s ok 1393 /checksum/SHA384/reset/95 1377s ok 1394 /checksum/SHA384/reset/96 1377s ok 1395 /checksum/SHA384/reset/97 1377s ok 1396 /checksum/SHA384/reset/98 1377s ok 1397 /checksum/SHA384/reset/99 1377s ok 1398 /checksum/SHA384/reset/100 1377s ok 1399 /checksum/SHA384/reset/101 1377s ok 1400 /checksum/SHA384/reset/102 1377s ok 1401 /checksum/SHA384/reset/103 1377s ok 1402 /checksum/SHA384/reset/104 1377s ok 1403 /checksum/SHA384/reset/105 1377s ok 1404 /checksum/SHA384/reset/106 1377s ok 1405 /checksum/SHA384/reset/107 1377s ok 1406 /checksum/SHA384/reset/108 1377s ok 1407 /checksum/SHA384/reset/109 1377s ok 1408 /checksum/SHA384/reset/110 1377s ok 1409 /checksum/SHA384/reset/111 1377s ok 1410 /checksum/SHA384/reset/112 1377s ok 1411 /checksum/SHA384/reset/113 1377s ok 1412 /checksum/SHA384/reset/114 1377s ok 1413 /checksum/SHA384/reset/115 1377s ok 1414 /checksum/SHA384/reset/116 1377s ok 1415 /checksum/SHA384/reset/117 1377s ok 1416 /checksum/SHA384/reset/118 1377s ok 1417 /checksum/SHA384/reset/119 1377s ok 1418 /checksum/SHA384/reset/120 1377s ok 1419 /checksum/SHA384/reset/121 1377s ok 1420 /checksum/SHA384/reset/122 1377s ok 1421 /checksum/SHA384/reset/123 1377s ok 1422 /checksum/SHA384/reset/124 1377s ok 1423 /checksum/SHA384/reset/125 1377s ok 1424 /checksum/SHA384/reset/126 1377s ok 1425 /checksum/SHA384/reset/127 1377s ok 1426 /checksum/SHA384/reset/128 1377s ok 1427 /checksum/SHA384/reset/129 1377s ok 1428 /checksum/SHA384/reset/130 1377s ok 1429 /checksum/SHA384/reset/131 1377s ok 1430 /checksum/SHA384/reset/132 1377s ok 1431 /checksum/SHA384/reset/133 1377s ok 1432 /checksum/SHA384/reset/134 1377s ok 1433 /checksum/SHA384/reset/135 1377s ok 1434 /checksum/SHA384/reset/136 1377s ok 1435 /checksum/SHA384/reset/137 1377s ok 1436 /checksum/SHA384/reset/138 1377s ok 1437 /checksum/SHA384/reset/139 1377s ok 1438 /checksum/SHA384/reset/140 1377s ok 1439 /checksum/SHA384/reset/141 1377s ok 1440 /checksum/SHA384/reset/142 1377s ok 1441 /checksum/SHA384/reset/143 1377s ok 1442 /checksum/SHA384/reset/144 1377s ok 1443 /checksum/SHA384/reset/145 1377s ok 1444 /checksum/SHA384/reset/146 1377s ok 1445 /checksum/SHA384/reset/147 1377s ok 1446 /checksum/SHA384/reset/148 1377s ok 1447 /checksum/SHA384/reset/149 1377s ok 1448 /checksum/SHA384/reset/150 1377s ok 1449 /checksum/SHA384/reset/151 1377s ok 1450 /checksum/SHA384/reset/152 1377s ok 1451 /checksum/SHA384/reset/153 1377s ok 1452 /checksum/SHA384/reset/154 1377s ok 1453 /checksum/SHA384/reset/155 1377s ok 1454 /checksum/SHA384/reset/156 1377s ok 1455 /checksum/SHA384/reset/157 1377s ok 1456 /checksum/SHA384/reset/158 1377s ok 1457 /checksum/SHA384/reset/159 1377s ok 1458 /checksum/SHA384/reset/160 1377s ok 1459 /checksum/SHA384/reset/161 1377s ok 1460 /checksum/SHA384/reset/162 1377s ok 1461 /checksum/SHA384/reset/163 1377s ok 1462 /checksum/SHA384/reset/164 1377s ok 1463 /checksum/SHA384/reset/165 1377s ok 1464 /checksum/SHA384/reset/166 1377s ok 1465 /checksum/SHA384/reset/167 1377s ok 1466 /checksum/SHA384/reset/168 1377s ok 1467 /checksum/SHA384/reset/169 1377s ok 1468 /checksum/SHA384/reset/170 1377s ok 1469 /checksum/SHA384/reset/171 1377s ok 1470 /checksum/SHA384/reset/172 1377s ok 1471 /checksum/SHA384/reset/173 1377s ok 1472 /checksum/SHA384/reset/174 1377s ok 1473 /checksum/SHA384/reset/175 1377s ok 1474 /checksum/SHA384/reset/176 1377s ok 1475 /checksum/SHA384/reset/177 1377s ok 1476 /checksum/SHA384/reset/178 1377s ok 1477 /checksum/SHA384/reset/179 1377s ok 1478 /checksum/SHA384/reset/180 1377s ok 1479 /checksum/SHA384/reset/181 1377s ok 1480 /checksum/SHA384/reset/182 1377s ok 1481 /checksum/SHA384/reset/183 1377s # End of reset tests 1377s # End of SHA384 tests 1377s # Start of SHA512 tests 1377s ok 1482 /checksum/SHA512/0 1377s ok 1483 /checksum/SHA512/1 1377s ok 1484 /checksum/SHA512/2 1377s ok 1485 /checksum/SHA512/3 1377s ok 1486 /checksum/SHA512/4 1377s ok 1487 /checksum/SHA512/5 1377s ok 1488 /checksum/SHA512/6 1377s ok 1489 /checksum/SHA512/7 1377s ok 1490 /checksum/SHA512/8 1377s ok 1491 /checksum/SHA512/9 1377s ok 1492 /checksum/SHA512/10 1377s ok 1493 /checksum/SHA512/11 1377s ok 1494 /checksum/SHA512/12 1377s ok 1495 /checksum/SHA512/13 1377s ok 1496 /checksum/SHA512/14 1377s ok 1497 /checksum/SHA512/15 1377s ok 1498 /checksum/SHA512/16 1377s ok 1499 /checksum/SHA512/17 1377s ok 1500 /checksum/SHA512/18 1377s ok 1501 /checksum/SHA512/19 1377s ok 1502 /checksum/SHA512/20 1377s ok 1503 /checksum/SHA512/21 1377s ok 1504 /checksum/SHA512/22 1377s ok 1505 /checksum/SHA512/23 1377s ok 1506 /checksum/SHA512/24 1377s ok 1507 /checksum/SHA512/25 1377s ok 1508 /checksum/SHA512/26 1377s ok 1509 /checksum/SHA512/27 1377s ok 1510 /checksum/SHA512/28 1377s ok 1511 /checksum/SHA512/29 1377s ok 1512 /checksum/SHA512/30 1377s ok 1513 /checksum/SHA512/31 1377s ok 1514 /checksum/SHA512/32 1377s ok 1515 /checksum/SHA512/33 1377s ok 1516 /checksum/SHA512/34 1377s ok 1517 /checksum/SHA512/35 1377s ok 1518 /checksum/SHA512/36 1377s ok 1519 /checksum/SHA512/37 1377s ok 1520 /checksum/SHA512/38 1377s ok 1521 /checksum/SHA512/39 1377s ok 1522 /checksum/SHA512/40 1377s ok 1523 /checksum/SHA512/41 1377s ok 1524 /checksum/SHA512/42 1377s ok 1525 /checksum/SHA512/43 1377s ok 1526 /checksum/SHA512/44 1377s ok 1527 /checksum/SHA512/45 1377s ok 1528 /checksum/SHA512/46 1377s ok 1529 /checksum/SHA512/47 1377s ok 1530 /checksum/SHA512/48 1377s ok 1531 /checksum/SHA512/49 1377s ok 1532 /checksum/SHA512/50 1377s ok 1533 /checksum/SHA512/51 1377s ok 1534 /checksum/SHA512/52 1377s ok 1535 /checksum/SHA512/53 1377s ok 1536 /checksum/SHA512/54 1377s ok 1537 /checksum/SHA512/55 1377s ok 1538 /checksum/SHA512/56 1377s ok 1539 /checksum/SHA512/57 1377s ok 1540 /checksum/SHA512/58 1377s ok 1541 /checksum/SHA512/59 1377s ok 1542 /checksum/SHA512/60 1377s ok 1543 /checksum/SHA512/61 1377s ok 1544 /checksum/SHA512/62 1377s ok 1545 /checksum/SHA512/63 1377s ok 1546 /checksum/SHA512/64 1377s ok 1547 /checksum/SHA512/65 1377s ok 1548 /checksum/SHA512/66 1377s ok 1549 /checksum/SHA512/67 1377s ok 1550 /checksum/SHA512/68 1377s ok 1551 /checksum/SHA512/69 1377s ok 1552 /checksum/SHA512/70 1377s ok 1553 /checksum/SHA512/71 1377s ok 1554 /checksum/SHA512/72 1377s ok 1555 /checksum/SHA512/73 1377s ok 1556 /checksum/SHA512/74 1377s ok 1557 /checksum/SHA512/75 1377s ok 1558 /checksum/SHA512/76 1377s ok 1559 /checksum/SHA512/77 1377s ok 1560 /checksum/SHA512/78 1377s ok 1561 /checksum/SHA512/79 1377s ok 1562 /checksum/SHA512/80 1377s ok 1563 /checksum/SHA512/81 1377s ok 1564 /checksum/SHA512/82 1377s ok 1565 /checksum/SHA512/83 1377s ok 1566 /checksum/SHA512/84 1377s ok 1567 /checksum/SHA512/85 1377s ok 1568 /checksum/SHA512/86 1377s ok 1569 /checksum/SHA512/87 1377s ok 1570 /checksum/SHA512/88 1377s ok 1571 /checksum/SHA512/89 1377s ok 1572 /checksum/SHA512/90 1377s ok 1573 /checksum/SHA512/91 1377s ok 1574 /checksum/SHA512/92 1377s ok 1575 /checksum/SHA512/93 1377s ok 1576 /checksum/SHA512/94 1377s ok 1577 /checksum/SHA512/95 1377s ok 1578 /checksum/SHA512/96 1377s ok 1579 /checksum/SHA512/97 1377s ok 1580 /checksum/SHA512/98 1377s ok 1581 /checksum/SHA512/99 1377s ok 1582 /checksum/SHA512/100 1377s ok 1583 /checksum/SHA512/101 1377s ok 1584 /checksum/SHA512/102 1377s ok 1585 /checksum/SHA512/103 1377s ok 1586 /checksum/SHA512/104 1377s ok 1587 /checksum/SHA512/105 1377s ok 1588 /checksum/SHA512/106 1377s ok 1589 /checksum/SHA512/107 1377s ok 1590 /checksum/SHA512/108 1377s ok 1591 /checksum/SHA512/109 1377s ok 1592 /checksum/SHA512/110 1377s ok 1593 /checksum/SHA512/111 1377s ok 1594 /checksum/SHA512/112 1377s ok 1595 /checksum/SHA512/113 1377s ok 1596 /checksum/SHA512/114 1377s ok 1597 /checksum/SHA512/115 1377s ok 1598 /checksum/SHA512/116 1377s ok 1599 /checksum/SHA512/117 1377s ok 1600 /checksum/SHA512/118 1377s ok 1601 /checksum/SHA512/119 1377s ok 1602 /checksum/SHA512/120 1377s ok 1603 /checksum/SHA512/121 1377s ok 1604 /checksum/SHA512/122 1377s ok 1605 /checksum/SHA512/123 1377s ok 1606 /checksum/SHA512/124 1377s ok 1607 /checksum/SHA512/125 1377s ok 1608 /checksum/SHA512/126 1377s ok 1609 /checksum/SHA512/127 1377s ok 1610 /checksum/SHA512/128 1377s ok 1611 /checksum/SHA512/129 1377s ok 1612 /checksum/SHA512/130 1377s ok 1613 /checksum/SHA512/131 1377s ok 1614 /checksum/SHA512/132 1377s ok 1615 /checksum/SHA512/133 1377s ok 1616 /checksum/SHA512/134 1377s ok 1617 /checksum/SHA512/135 1377s ok 1618 /checksum/SHA512/136 1377s ok 1619 /checksum/SHA512/137 1377s ok 1620 /checksum/SHA512/138 1377s ok 1621 /checksum/SHA512/139 1377s ok 1622 /checksum/SHA512/140 1377s ok 1623 /checksum/SHA512/141 1377s ok 1624 /checksum/SHA512/142 1377s ok 1625 /checksum/SHA512/143 1377s ok 1626 /checksum/SHA512/144 1377s ok 1627 /checksum/SHA512/145 1377s ok 1628 /checksum/SHA512/146 1377s ok 1629 /checksum/SHA512/147 1377s ok 1630 /checksum/SHA512/148 1377s ok 1631 /checksum/SHA512/149 1377s ok 1632 /checksum/SHA512/150 1377s ok 1633 /checksum/SHA512/151 1377s ok 1634 /checksum/SHA512/152 1377s ok 1635 /checksum/SHA512/153 1377s ok 1636 /checksum/SHA512/154 1377s ok 1637 /checksum/SHA512/155 1377s ok 1638 /checksum/SHA512/156 1377s ok 1639 /checksum/SHA512/157 1377s ok 1640 /checksum/SHA512/158 1377s ok 1641 /checksum/SHA512/159 1377s ok 1642 /checksum/SHA512/160 1377s ok 1643 /checksum/SHA512/161 1377s ok 1644 /checksum/SHA512/162 1377s ok 1645 /checksum/SHA512/163 1377s ok 1646 /checksum/SHA512/164 1377s ok 1647 /checksum/SHA512/165 1377s ok 1648 /checksum/SHA512/166 1377s ok 1649 /checksum/SHA512/167 1377s ok 1650 /checksum/SHA512/168 1377s ok 1651 /checksum/SHA512/169 1377s ok 1652 /checksum/SHA512/170 1377s ok 1653 /checksum/SHA512/171 1377s ok 1654 /checksum/SHA512/172 1377s ok 1655 /checksum/SHA512/173 1377s ok 1656 /checksum/SHA512/174 1377s ok 1657 /checksum/SHA512/175 1377s ok 1658 /checksum/SHA512/176 1377s ok 1659 /checksum/SHA512/177 1377s ok 1660 /checksum/SHA512/178 1377s ok 1661 /checksum/SHA512/179 1377s ok 1662 /checksum/SHA512/180 1377s ok 1663 /checksum/SHA512/181 1377s ok 1664 /checksum/SHA512/182 1377s ok 1665 /checksum/SHA512/183 1377s ok 1666 /checksum/SHA512/string 1377s ok 1667 /checksum/SHA512/bytes 1377s # Start of reset tests 1377s ok 1668 /checksum/SHA512/reset/0 1377s ok 1669 /checksum/SHA512/reset/1 1377s ok 1670 /checksum/SHA512/reset/2 1377s ok 1671 /checksum/SHA512/reset/3 1377s ok 1672 /checksum/SHA512/reset/4 1377s ok 1673 /checksum/SHA512/reset/5 1377s ok 1674 /checksum/SHA512/reset/6 1377s ok 1675 /checksum/SHA512/reset/7 1377s ok 1676 /checksum/SHA512/reset/8 1377s ok 1677 /checksum/SHA512/reset/9 1377s ok 1678 /checksum/SHA512/reset/10 1377s ok 1679 /checksum/SHA512/reset/11 1377s ok 1680 /checksum/SHA512/reset/12 1377s ok 1681 /checksum/SHA512/reset/13 1377s ok 1682 /checksum/SHA512/reset/14 1377s ok 1683 /checksum/SHA512/reset/15 1377s ok 1684 /checksum/SHA512/reset/16 1377s ok 1685 /checksum/SHA512/reset/17 1377s ok 1686 /checksum/SHA512/reset/18 1377s ok 1687 /checksum/SHA512/reset/19 1377s ok 1688 /checksum/SHA512/reset/20 1377s ok 1689 /checksum/SHA512/reset/21 1377s ok 1690 /checksum/SHA512/reset/22 1377s ok 1691 /checksum/SHA512/reset/23 1377s ok 1692 /checksum/SHA512/reset/24 1377s ok 1693 /checksum/SHA512/reset/25 1377s ok 1694 /checksum/SHA512/reset/26 1377s ok 1695 /checksum/SHA512/reset/27 1377s ok 1696 /checksum/SHA512/reset/28 1377s ok 1697 /checksum/SHA512/reset/29 1377s ok 1698 /checksum/SHA512/reset/30 1377s ok 1699 /checksum/SHA512/reset/31 1377s ok 1700 /checksum/SHA512/reset/32 1377s ok 1701 /checksum/SHA512/reset/33 1377s ok 1702 /checksum/SHA512/reset/34 1377s ok 1703 /checksum/SHA512/reset/35 1377s ok 1704 /checksum/SHA512/reset/36 1377s ok 1705 /checksum/SHA512/reset/37 1377s ok 1706 /checksum/SHA512/reset/38 1377s ok 1707 /checksum/SHA512/reset/39 1377s ok 1708 /checksum/SHA512/reset/40 1377s ok 1709 /checksum/SHA512/reset/41 1377s ok 1710 /checksum/SHA512/reset/42 1377s ok 1711 /checksum/SHA512/reset/43 1377s ok 1712 /checksum/SHA512/reset/44 1377s ok 1713 /checksum/SHA512/reset/45 1377s ok 1714 /checksum/SHA512/reset/46 1377s ok 1715 /checksum/SHA512/reset/47 1377s ok 1716 /checksum/SHA512/reset/48 1377s ok 1717 /checksum/SHA512/reset/49 1377s ok 1718 /checksum/SHA512/reset/50 1377s ok 1719 /checksum/SHA512/reset/51 1377s ok 1720 /checksum/SHA512/reset/52 1377s ok 1721 /checksum/SHA512/reset/53 1377s ok 1722 /checksum/SHA512/reset/54 1377s ok 1723 /checksum/SHA512/reset/55 1377s ok 1724 /checksum/SHA512/reset/56 1377s ok 1725 /checksum/SHA512/reset/57 1377s ok 1726 /checksum/SHA512/reset/58 1377s ok 1727 /checksum/SHA512/reset/59 1377s ok 1728 /checksum/SHA512/reset/60 1377s ok 1729 /checksum/SHA512/reset/61 1377s ok 1730 /checksum/SHA512/reset/62 1377s ok 1731 /checksum/SHA512/reset/63 1377s ok 1732 /checksum/SHA512/reset/64 1377s ok 1733 /checksum/SHA512/reset/65 1377s ok 1734 /checksum/SHA512/reset/66 1377s ok 1735 /checksum/SHA512/reset/67 1377s ok 1736 /checksum/SHA512/reset/68 1377s ok 1737 /checksum/SHA512/reset/69 1377s ok 1738 /checksum/SHA512/reset/70 1377s ok 1739 /checksum/SHA512/reset/71 1377s ok 1740 /checksum/SHA512/reset/72 1377s ok 1741 /checksum/SHA512/reset/73 1377s ok 1742 /checksum/SHA512/reset/74 1377s ok 1743 /checksum/SHA512/reset/75 1377s ok 1744 /checksum/SHA512/reset/76 1377s ok 1745 /checksum/SHA512/reset/77 1377s ok 1746 /checksum/SHA512/reset/78 1377s ok 1747 /checksum/SHA512/reset/79 1377s ok 1748 /checksum/SHA512/reset/80 1377s ok 1749 /checksum/SHA512/reset/81 1377s ok 1750 /checksum/SHA512/reset/82 1377s ok 1751 /checksum/SHA512/reset/83 1377s ok 1752 /checksum/SHA512/reset/84 1377s ok 1753 /checksum/SHA512/reset/85 1377s ok 1754 /checksum/SHA512/reset/86 1377s ok 1755 /checksum/SHA512/reset/87 1377s ok 1756 /checksum/SHA512/reset/88 1377s ok 1757 /checksum/SHA512/reset/89 1377s ok 1758 /checksum/SHA512/reset/90 1377s ok 1759 /checksum/SHA512/reset/91 1377s ok 1760 /checksum/SHA512/reset/92 1377s ok 1761 /checksum/SHA512/reset/93 1377s ok 1762 /checksum/SHA512/reset/94 1377s ok 1763 /checksum/SHA512/reset/95 1377s ok 1764 /checksum/SHA512/reset/96 1377s ok 1765 /checksum/SHA512/reset/97 1377s ok 1766 /checksum/SHA512/reset/98 1377s ok 1767 /checksum/SHA512/reset/99 1377s ok 1768 /checksum/SHA512/reset/100 1377s ok 1769 /checksum/SHA512/reset/101 1377s ok 1770 /checksum/SHA512/reset/102 1377s ok 1771 /checksum/SHA512/reset/103 1377s ok 1772 /checksum/SHA512/reset/104 1377s ok 1773 /checksum/SHA512/reset/105 1377s ok 1774 /checksum/SHA512/reset/106 1377s ok 1775 /checksum/SHA512/reset/107 1377s ok 1776 /checksum/SHA512/reset/108 1377s ok 1777 /checksum/SHA512/reset/109 1377s ok 1778 /checksum/SHA512/reset/110 1377s ok 1779 /checksum/SHA512/reset/111 1377s ok 1780 /checksum/SHA512/reset/112 1377s ok 1781 /checksum/SHA512/reset/113 1377s ok 1782 /checksum/SHA512/reset/114 1377s ok 1783 /checksum/SHA512/reset/115 1377s ok 1784 /checksum/SHA512/reset/116 1377s ok 1785 /checksum/SHA512/reset/117 1377s ok 1786 /checksum/SHA512/reset/118 1377s ok 1787 /checksum/SHA512/reset/119 1377s ok 1788 /checksum/SHA512/reset/120 1377s ok 1789 /checksum/SHA512/reset/121 1377s ok 1790 /checksum/SHA512/reset/122 1377s ok 1791 /checksum/SHA512/reset/123 1377s ok 1792 /checksum/SHA512/reset/124 1377s ok 1793 /checksum/SHA512/reset/125 1377s ok 1794 /checksum/SHA512/reset/126 1377s ok 1795 /checksum/SHA512/reset/127 1377s ok 1796 /checksum/SHA512/reset/128 1377s ok 1797 /checksum/SHA512/reset/129 1377s ok 1798 /checksum/SHA512/reset/130 1377s ok 1799 /checksum/SHA512/reset/131 1377s ok 1800 /checksum/SHA512/reset/132 1377s ok 1801 /checksum/SHA512/reset/133 1377s ok 1802 /checksum/SHA512/reset/134 1377s ok 1803 /checksum/SHA512/reset/135 1377s ok 1804 /checksum/SHA512/reset/136 1377s ok 1805 /checksum/SHA512/reset/137 1377s ok 1806 /checksum/SHA512/reset/138 1377s ok 1807 /checksum/SHA512/reset/139 1377s ok 1808 /checksum/SHA512/reset/140 1377s ok 1809 /checksum/SHA512/reset/141 1377s ok 1810 /checksum/SHA512/reset/142 1377s ok 1811 /checksum/SHA512/reset/143 1377s ok 1812 /checksum/SHA512/reset/144 1377s ok 1813 /checksum/SHA512/reset/145 1377s ok 1814 /checksum/SHA512/reset/146 1377s ok 1815 /checksum/SHA512/reset/147 1377s ok 1816 /checksum/SHA512/reset/148 1377s ok 1817 /checksum/SHA512/reset/149 1377s ok 1818 /checksum/SHA512/reset/150 1377s ok 1819 /checksum/SHA512/reset/151 1377s ok 1820 /checksum/SHA512/reset/152 1377s ok 1821 /checksum/SHA512/reset/153 1377s ok 1822 /checksum/SHA512/reset/154 1377s ok 1823 /checksum/SHA512/reset/155 1377s ok 1824 /checksum/SHA512/reset/156 1377s ok 1825 /checksum/SHA512/reset/157 1377s ok 1826 /checksum/SHA512/reset/158 1377s ok 1827 /checksum/SHA512/reset/159 1377s ok 1828 /checksum/SHA512/reset/160 1377s ok 1829 /checksum/SHA512/reset/161 1377s ok 1830 /checksum/SHA512/reset/162 1377s ok 1831 /checksum/SHA512/reset/163 1377s ok 1832 /checksum/SHA512/reset/164 1377s ok 1833 /checksum/SHA512/reset/165 1377s ok 1834 /checksum/SHA512/reset/166 1377s ok 1835 /checksum/SHA512/reset/167 1377s ok 1836 /checksum/SHA512/reset/168 1377s ok 1837 /checksum/SHA512/reset/169 1377s ok 1838 /checksum/SHA512/reset/170 1377s ok 1839 /checksum/SHA512/reset/171 1377s ok 1840 /checksum/SHA512/reset/172 1377s ok 1841 /checksum/SHA512/reset/173 1377s ok 1842 /checksum/SHA512/reset/174 1377s ok 1843 /checksum/SHA512/reset/175 1377s ok 1844 /checksum/SHA512/reset/176 1377s ok 1845 /checksum/SHA512/reset/177 1377s ok 1846 /checksum/SHA512/reset/178 1377s ok 1847 /checksum/SHA512/reset/179 1377s ok 1848 /checksum/SHA512/reset/180 1377s ok 1849 /checksum/SHA512/reset/181 1377s ok 1850 /checksum/SHA512/reset/182 1377s ok 1851 /checksum/SHA512/reset/183 1377s # End of reset tests 1377s # End of SHA512 tests 1377s # End of checksum tests 1377s ok - glib/checksum.test 1377s # Running test: glib/throws.test 1377s TAP version 14 1377s # random seed: R02Sd67efef2495018a3979dcf0abac300a0 1377s 1..3 1377s # Start of throws tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_B39MZ2/throws/invoke-gerror/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1377s ok 1 /throws/invoke-gerror 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_B39MZ2/throws/vfunc-can-throw-gerror/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1377s ok 2 /throws/vfunc-can-throw-gerror 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_B39MZ2/throws/callback-can-throw-gerror/.dirs/runtime 1377s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1377s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1377s ok 3 /throws/callback-can-throw-gerror 1377s # End of throws tests 1377s ok - glib/throws.test 1377s # Running test: glib/data-input-stream.test 1377s TAP version 14 1377s # random seed: R02S9c2b9518a257c3b439204860708c7c41 1377s 1..10 1377s # Start of data-input-stream tests 1377s ok 1 /data-input-stream/basic 1377s ok 2 /data-input-stream/read-lines-LF 1377s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1377s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1377s ok 5 /data-input-stream/read-lines-CR 1377s ok 6 /data-input-stream/read-lines-CR-LF 1377s ok 7 /data-input-stream/read-lines-any 1377s ok 8 /data-input-stream/read-until 1377s ok 9 /data-input-stream/read-upto 1378s ok 10 /data-input-stream/read-int 1378s # End of data-input-stream tests 1378s ok - glib/data-input-stream.test 1378s # Running test: glib/init.test 1378s TAP version 14 1378s # random seed: R02S2d81af6c662b66304bec8752460df66d 1378s 1..2 1378s # Start of thread tests 1378s # Start of deprecated tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_CVFTZ2/thread/deprecated/init/.dirs/runtime 1378s ok 1 /thread/deprecated/init 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_CVFTZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1378s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1378s # End of deprecated tests 1378s # End of thread tests 1378s ok - glib/init.test 1378s # Running test: glib/socket-service.test 1378s TAP version 14 1378s # random seed: R02S56ee0f6c8ea0412951cfd6ea783f8d0c 1378s 1..4 1378s # Start of socket-service tests 1378s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0269ec83390 and GSocketClientAsyncConnectData 0xc0269ec7b630 1378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1378s ok 1 /socket-service/start-stop 1378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0269ec84ef0 and GSocketClientAsyncConnectData 0xc0269ec84c90 1378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0269ec85400 for GSocketClientAsyncConnectData 0xc0269ec7b630 1378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1378s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0269ec86280 for GSocketClientAsyncConnectData 0xc0269ec84c90 1378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1378s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1378s ok 2 /socket-service/read_write_async 1378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0269ec86d00 and GSocketClientAsyncConnectData 0xc0269ec869b0 1378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0269ec86ca0 for GSocketClientAsyncConnectData 0xc0269ec869b0 1378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1378s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1378s ok 3 /socket-service/read_writev_async 1378s # Start of threaded tests 1378s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0269ec8a7e0 and GSocketClientAsyncConnectData 0xc0269ec7b630 1378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0269ec8a9b0 for GSocketClientAsyncConnectData 0xc0269ec7b630 1378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1378s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1378s ok 4 /socket-service/threaded/712570 1378s # End of threaded tests 1378s # End of socket-service tests 1378s ok - glib/socket-service.test 1378s # Running test: glib/gutils-user-database.test 1378s TAP version 14 1378s # random seed: R02S9bc62bb62bb20398cbc4a571482c9dc1 1378s 1..1 1378s # Start of gutils tests 1378s ok 1 /gutils/get_user_database_entry 1378s # End of gutils tests 1378s ok - glib/gutils-user-database.test 1378s # Running test: glib/buffered-input-stream.test 1378s TAP version 14 1378s # random seed: R02S8e211aa18538b87329dd60766f28e2b4 1378s 1..10 1378s # Start of buffered-input-stream tests 1378s ok 1 /buffered-input-stream/peek 1378s ok 2 /buffered-input-stream/peek-buffer 1378s ok 3 /buffered-input-stream/set-buffer-size 1378s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1378s ok 4 /buffered-input-stream/read-byte 1378s ok 5 /buffered-input-stream/read 1378s ok 6 /buffered-input-stream/read-async 1378s ok 7 /buffered-input-stream/skip 1378s ok 8 /buffered-input-stream/skip-async 1378s ok 9 /buffered-input-stream/seek 1378s # End of buffered-input-stream tests 1378s # Start of filter-input-stream tests 1378s ok 10 /filter-input-stream/close 1378s # End of filter-input-stream tests 1378s ok - glib/buffered-input-stream.test 1378s # Running test: glib/testfilemonitor.test 1378s TAP version 14 1378s # random seed: R02Sc81831ea3db90a8ee832990a6d363e70 1378s 1..8 1378s # Start of monitor tests 1378s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1378s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1378s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1378s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1378s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1378s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1378s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1378s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1378s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1378s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1378s # Start of file tests 1378s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1378s # End of file tests 1378s # End of monitor tests 1378s ok - glib/testfilemonitor.test 1378s # Running test: glib/rand.test 1378s TAP version 14 1378s # random seed: R02Scfb4b2e880664431032c8c3aa3e69509 1378s 1..2 1378s # Start of rand tests 1378s ok 1 /rand/test-rand 1378s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1378s ok 2 /rand/double-range 1378s # End of rand tests 1378s ok - glib/rand.test 1378s # Running test: glib/collate.test 1378s TAP version 14 1378s # random seed: R02S2e8dd28f829010c3872958f964abd53f 1378s 1..9 1378s # Start of unicode tests 1378s # Start of collate tests 1378s ok 1 /unicode/collate/0 1378s ok 2 /unicode/collate/1 1378s ok 3 /unicode/collate/2 1378s # End of collate tests 1378s # Start of collate-key tests 1378s ok 4 /unicode/collate-key/0 1378s ok 5 /unicode/collate-key/1 1378s ok 6 /unicode/collate-key/2 1378s # End of collate-key tests 1378s # Start of collate-filename tests 1378s ok 7 /unicode/collate-filename/0 1378s ok 8 /unicode/collate-filename/1 1378s ok 9 /unicode/collate-filename/2 1378s # End of collate-filename tests 1378s # End of unicode tests 1378s ok - glib/collate.test 1378s # Running test: glib/mapping.test 1378s TAP version 14 1378s # random seed: R02S4698004410eac1b7220e6a18a5428557 1378s 1..3 1378s # Start of mapping tests 1378s # test_mapping: ok 1378s ok 1 /mapping/flags 1378s ok 2 /mapping/private 1378s # test_child_private: child spawned 1378s # Subtest: /usr/libexec/installed-tests/glib/mapping 1378s # random seed: R02Sad9ad253b8b99c64105c60ced520ce79 1378s # test_child_private: received first child signal 1378s # test_child_private: received parent signal 1378s # Child exited with status 0 1378s # test_child_private: received second child signal 1378s ok 3 /mapping/private-child 1378s # End of mapping tests 1378s ok - glib/mapping.test 1378s # Running test: glib/portal-support-snap.test 1378s TAP version 14 1378s # random seed: R02Se4d6696df333db63a5b55931726a5a79 1378s 1..7 1378s # Start of portal-support tests 1378s # Start of snap tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl/.dirs/runtime 1378s # Created snap.yaml in /tmp/test_portal-support-snap_1K6UZ2/meta/snap.yaml 1378s Unable to clean up temporary directory /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/no-snapctl: No such file or directory 1378s ok 1 /portal-support/snap/no-snapctl 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/runtime 1378s # Created snap.yaml in /tmp/test_portal-support-snap_1K6UZ2/meta/snap.yaml 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none/.dirs/runtime/snapctl 1378s Unable to clean up temporary directory /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/none: No such file or directory 1378s ok 2 /portal-support/snap/none 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/runtime 1378s # Created snap.yaml in /tmp/test_portal-support-snap_1K6UZ2/meta/snap.yaml 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all/.dirs/runtime/snapctl 1378s Unable to clean up temporary directory /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/all: No such file or directory 1378s ok 3 /portal-support/snap/all 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/runtime 1378s # Created snap.yaml in /tmp/test_portal-support-snap_1K6UZ2/meta/snap.yaml 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1378s Unable to clean up temporary directory /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/desktop-only: No such file or directory 1378s ok 4 /portal-support/snap/desktop-only 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/runtime 1378s # Created snap.yaml in /tmp/test_portal-support-snap_1K6UZ2/meta/snap.yaml 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only/.dirs/runtime/snapctl 1378s Unable to clean up temporary directory /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/network-only: No such file or directory 1378s ok 5 /portal-support/snap/network-only 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/runtime 1378s # Created snap.yaml in /tmp/test_portal-support-snap_1K6UZ2/meta/snap.yaml 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1378s Unable to clean up temporary directory /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/gsettings-only: No such file or directory 1378s ok 6 /portal-support/snap/gsettings-only 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/runtime 1378s # Created snap.yaml in /tmp/test_portal-support-snap_1K6UZ2/meta/snap.yaml 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1378s # Created snapctl in /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1378s Unable to clean up temporary directory /tmp/test_portal-support-snap_1K6UZ2/portal-support/snap/updates-dynamically: No such file or directory 1378s ok 7 /portal-support/snap/updates-dynamically 1378s # End of snap tests 1378s # End of portal-support tests 1378s Unable to clean up temporary directory /tmp/test_portal-support-snap_1K6UZ2: No such file or directory 1378s ok - glib/portal-support-snap.test 1378s # Running test: glib/static-link.test 1378s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1378s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1378s and make sure you have glib build dependencies installed, including 1378s meson. 1378s ok # SKIP - glib/static-link.test 1378s # Running test: glib/stream-rw_all.test 1378s TAP version 14 1378s # random seed: R02Sc2963137e10869b87ea016483c9ff15d 1378s 1..3 1378s # Start of stream tests 1378s # Start of read_all_async tests 1378s ok 1 /stream/read_all_async/memory 1378s # End of read_all_async tests 1378s # Start of write_all_async tests 1378s ok 2 /stream/write_all_async/memory 1378s # End of write_all_async tests 1378s # Start of read_write_all_async tests 1378s ok 3 /stream/read_write_all_async/pipe 1378s # End of read_write_all_async tests 1378s # End of stream tests 1378s ok - glib/stream-rw_all.test 1378s # Running test: glib/pathbuf.test 1378s TAP version 14 1378s # random seed: R02Sfca00d7c3a10545ac2aef62e5d081dde 1378s 1..3 1378s # Start of pathbuf tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WIWYZ2/pathbuf/init/.dirs/runtime 1378s # Initializing empty path buf 1378s # Initializing with empty path 1378s # Initializing with full path 1378s # Initializing with no path 1378s # Allocating GPathBuf on the heap 1378s ok 1 /pathbuf/init 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WIWYZ2/pathbuf/push-pop/.dirs/runtime 1378s # Pushing relative path component 1378s # Pushing absolute path component 1378s # Popping a path component 1378s # Can't pop the last element of a path buffer 1378s ok 2 /pathbuf/push-pop 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WIWYZ2/pathbuf/filename-extension/.dirs/runtime 1378s ok 3 /pathbuf/filename-extension 1378s # End of pathbuf tests 1378s ok - glib/pathbuf.test 1378s # Running test: glib/appmonitor.test 1378s TAP version 14 1378s # random seed: R02S2a68d525f5399ab5c4815c5b7c30958d 1378s 1..1 1378s # Start of monitor tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/runtime 1378s # Using data directory: /tmp/test_appmonitor_W11YZ2/monitor/app/.dirs/data 1378s ok 1 /monitor/app 1378s # End of monitor tests 1378s ok - glib/appmonitor.test 1378s # Running test: glib/642026.test 1378s TAP version 14 1378s # random seed: R02Sc6b7d9f4f310ebdbfd826173e4ae5441 1378s 1..1 1378s # Start of glib tests 1378s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1378s ok 1 /glib/642026 1378s # End of glib tests 1378s ok - glib/642026.test 1378s # Running test: glib/g-icon.test 1378s TAP version 14 1378s # random seed: R02Sdc9ad0fe2b3d56bd015d04b4dc87b6d4 1378s 1..6 1378s # Start of icons tests 1378s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1378s ok 1 /icons/to-string 1378s ok 2 /icons/serialize 1378s ok 3 /icons/themed 1378s ok 4 /icons/emblemed 1378s ok 5 /icons/file 1378s ok 6 /icons/bytes 1378s # End of icons tests 1378s ok - glib/g-icon.test 1378s # Running test: glib/signalgroup.test 1378s TAP version 14 1378s # random seed: R02S642def7a2bbbe5598f5cfdef6fdf576e 1378s 1..9 1378s # Start of GObject tests 1378s # Start of SignalGroup tests 1378s ok 1 /GObject/SignalGroup/invalid 1378s ok 2 /GObject/SignalGroup/simple 1378s ok 3 /GObject/SignalGroup/changing-target 1378s ok 4 /GObject/SignalGroup/blocking 1378s ok 5 /GObject/SignalGroup/weak-ref-target 1378s ok 6 /GObject/SignalGroup/connect-object 1378s ok 7 /GObject/SignalGroup/signal-parsing 1378s ok 8 /GObject/SignalGroup/properties 1378s ok 9 /GObject/SignalGroup/interface 1378s # Start of signal-parsing tests 1378s # End of signal-parsing tests 1378s # End of SignalGroup tests 1378s # End of GObject tests 1378s ok - glib/signalgroup.test 1378s # Running test: glib/gdbus-export.test 1378s TAP version 14 1378s # random seed: R02Se6973970109b7d9bccf0d9433b6e4638 1378s 1..6 1378s # Start of gdbus tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration/.dirs/runtime 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s ok 1 /gdbus/object-registration 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NGH0Z2/gdbus/object-registration-with-closures/.dirs/runtime 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s ok 2 /gdbus/object-registration-with-closures 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NGH0Z2/gdbus/registered-interfaces/.dirs/runtime 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s ok 3 /gdbus/registered-interfaces 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NGH0Z2/gdbus/async-properties/.dirs/runtime 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s ok 4 /gdbus/async-properties 1378s # Start of threaded-unregistration tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/object/.dirs/runtime 1378s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1378s # /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 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # Executing: glib/gdbus-export.test 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 1379s # slow test /gdbus/threaded-unregistration/object executed in 1.23 secs 1379s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/home 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/cache 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/config 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/data 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/state 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NGH0Z2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1379s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1379s # /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 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 1380s # slow test /gdbus/threaded-unregistration/subtree executed in 1.27 secs 1380s # End of threaded-unregistration tests 1380s # End of gdbus tests 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s cleaning up pid 8971 1380s ok - glib/gdbus-export.test 1380s # Running test: glib/defaultvalue.test 1380s TAP version 14 1380s # random seed: R02S61bca696569a4232f71726aad2abc88a 1380s 1..84 1380s # Start of Default Values tests 1380s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1380s ok 2 /Default Values/GAppLaunchContext 1380s ok 3 /Default Values/GApplicationCommandLine 1380s # skipping GApplication:is-remote 1380s ok 4 /Default Values/GApplication 1380s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1380s ok 6 /Default Values/GBindingGroup 1380s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1380s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1380s ok 9 /Default Values/GBytesIcon 1380s ok 10 /Default Values/GCancellable 1380s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1380s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1380s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1380s ok 14 /Default Values/GCredentials 1380s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1380s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1380s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1380s ok 18 /Default Values/GDBusAuthObserver 1380s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1380s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1380s ok 21 /Default Values/GDBusMessage 1380s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1380s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1380s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1380s ok 25 /Default Values/GDBusObjectProxy 1380s ok 26 /Default Values/GDBusObjectSkeleton 1380s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1380s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1380s ok 29 /Default Values/GEmblem 1380s ok 30 /Default Values/GEmblemedIcon 1380s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1380s ok 32 /Default Values/GFileInfo 1380s ok 33 /Default Values/GFileInputStream 1380s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1380s ok 35 /Default Values/GFileOutputStream 1380s ok 36 /Default Values/GFilenameCompleter 1380s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1380s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1380s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1380s ok 40 /Default Values/GInitiallyUnowned 1380s ok 41 /Default Values/GIOModule 1380s ok 42 /Default Values/GListStore 1380s ok 43 /Default Values/GMemoryInputStream 1380s ok 44 /Default Values/GMemoryOutputStream 1380s ok 45 /Default Values/GMenu 1380s ok 46 /Default Values/GMenuItem 1380s ok 47 /Default Values/GMountOperation 1380s ok 48 /Default Values/GNativeSocketAddress 1380s ok 49 /Default Values/GNetworkAddress 1380s ok 50 /Default Values/GNetworkService 1380s ok 51 /Default Values/GNotification 1380s ok 52 /Default Values/GObject 1380s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1380s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1380s # skipping GProxyAddressEnumerator:proxy-resolver 1380s ok 54 /Default Values/GProxyAddressEnumerator 1380s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1380s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1380s ok 57 /Default Values/GSignalGroup 1380s ok 58 /Default Values/GSimpleAction 1380s ok 59 /Default Values/GSimpleActionGroup 1380s ok 60 /Default Values/GSimpleAsyncResult 1380s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1380s ok 62 /Default Values/GSimplePermission 1380s ok 63 /Default Values/GSimpleProxyResolver 1380s # skipping GSocketClient:proxy-resolver 1380s ok 64 /Default Values/GSocketClient 1380s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1380s ok 66 /Default Values/GSocket # SKIP initialization failed 1380s ok 67 /Default Values/GSocketListener 1380s ok 68 /Default Values/GSocketService 1380s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1380s ok 70 /Default Values/GSubprocessLauncher 1380s # GLib-GIO-DEBUG: GTask 0xc6fe8c391050 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1380s ok 71 /Default Values/GTask 1380s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1380s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1380s ok 74 /Default Values/GTestDBus 1380s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1380s ok 76 /Default Values/GThreadedSocketService 1380s ok 77 /Default Values/GTlsInteraction 1380s ok 78 /Default Values/GTlsPassword 1380s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1380s ok 80 /Default Values/GUnixFDList 1380s ok 81 /Default Values/GVfs 1380s ok 82 /Default Values/GVolumeMonitor 1380s ok 83 /Default Values/GZlibCompressor 1380s ok 84 /Default Values/GZlibDecompressor 1380s # End of Default Values tests 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s ok - glib/defaultvalue.test 1380s # Running test: glib/performance-threaded.test 1380s Running test "liststore-is-a" 1381s 15649 runs, min/avg/max = 0.058/0.064/0.901 ms 1381s Running test "liststore-interface-peek" 1382s 27814 runs, min/avg/max = 0.032/0.036/0.553 ms 1382s Running test "liststore-interface-peek-same" 1383s # Executing: glib/performance-threaded.test 1383s 30182 runs, min/avg/max = 0.031/0.033/0.532 ms 1383s ok - glib/performance-threaded.test 1383s # Running test: glib/value.test 1383s TAP version 14 1383s # random seed: R02S87ccf8b57bda3d7a1dae9b61432a0943 1383s 1..9 1383s # Start of value tests 1383s ok 1 /value/basic 1383s ok 2 /value/collection 1383s ok 3 /value/copying 1383s ok 4 /value/enum-transformation 1383s ok 5 /value/gtype 1383s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1383s ok 6 /value/string 1384s # Next: GObject object in GValue of GObject to GValue of GObject 1384s # Next: GObject object in GValue of GObject to GValue of TestInterface 1384s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1384s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1384s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1384s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1384s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1384s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1384s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1384s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1384s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1384s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1384s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1384s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1384s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1384s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1384s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1384s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1384s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1384s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1384s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1384s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1384s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1384s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1384s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1384s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1384s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1384s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1384s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1384s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1384s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1384s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1384s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1384s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1384s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1384s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1384s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1384s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1384s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1384s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1384s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1384s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1384s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1384s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1384s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1384s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1384s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1384s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1384s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1384s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1384s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1384s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1384s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1384s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1384s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1384s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1384s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1384s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1384s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1384s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1384s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1384s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1384s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1384s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1384s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1384s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1384s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1384s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1384s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1384s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1384s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1384s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1384s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1384s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1384s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1384s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1384s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1384s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1384s ok 7 /value/transform-object 1384s # Start of array tests 1384s ok 8 /value/array/basic 1384s ok 9 /value/array/sort-with-data 1384s # End of array tests 1384s # End of value tests 1384s ok - glib/value.test 1384s # Running test: glib/dir.test 1384s TAP version 14 1384s # random seed: R02S074a47ee4d6dff8dfb0dddc61cf92f7e 1384s 1..3 1384s # Start of dir tests 1384s ok 1 /dir/read 1384s ok 2 /dir/nonexisting 1384s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1384s ok 3 /dir/refcounting 1384s # End of dir tests 1384s ok - glib/dir.test 1384s # Running test: glib/option-context.test 1384s TAP version 14 1384s # random seed: R02Sf9448df578136752c45f9e556cafc413 1384s 1..57 1384s # Start of option tests 1384s ok 1 /option/basic 1384s ok 2 /option/translate 1384s ok 3 /option/strict-posix 1384s # Start of help tests 1384s ok 4 /option/help/options 1384s ok 5 /option/help/no-options 1384s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1384s ok 6 /option/help/no-help-options 1384s # End of help tests 1384s # Start of group tests 1384s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1384s ok 7 /option/group/captions 1384s ok 8 /option/group/main 1384s ok 9 /option/group/error-hook 1384s ok 10 /option/group/parse 1384s # Start of captions tests 1384s # Start of subprocess tests 1384s # End of subprocess tests 1384s # End of captions tests 1384s # End of group tests 1384s # Start of restoration tests 1384s ok 11 /option/restoration/int 1384s ok 12 /option/restoration/string 1384s ok 13 /option/restoration/boolean 1384s # End of restoration tests 1384s # Start of arg tests 1384s ok 14 /option/arg/reverse-string 1384s ok 15 /option/arg/optional-int 1384s # Start of repetition tests 1384s ok 16 /option/arg/repetition/int 1384s ok 17 /option/arg/repetition/string 1384s ok 18 /option/arg/repetition/filename 1384s ok 19 /option/arg/repetition/double 1384s ok 20 /option/arg/repetition/locale 1384s ok 21 /option/arg/repetition/int64 1384s # End of repetition tests 1384s # Start of array tests 1384s ok 22 /option/arg/array/string 1384s # End of array tests 1384s # Start of callback tests 1384s ok 23 /option/arg/callback/string 1384s ok 24 /option/arg/callback/count 1384s ok 25 /option/arg/callback/optional1 1384s ok 26 /option/arg/callback/optional2 1384s ok 27 /option/arg/callback/optional3 1384s ok 28 /option/arg/callback/optional4 1384s ok 29 /option/arg/callback/optional5 1384s ok 30 /option/arg/callback/optional6 1384s ok 31 /option/arg/callback/optional7 1384s ok 32 /option/arg/callback/optional8 1384s # End of callback tests 1384s # Start of remaining tests 1384s ok 33 /option/arg/remaining/callback 1384s ok 34 /option/arg/remaining/callback-false 1384s ok 35 /option/arg/remaining/non-option 1384s ok 36 /option/arg/remaining/separator 1384s ok 37 /option/arg/remaining/array 1384s # End of remaining tests 1384s # Start of ignore tests 1384s ok 38 /option/arg/ignore/long 1384s ok 39 /option/arg/ignore/short 1384s ok 40 /option/arg/ignore/arg 1384s # End of ignore tests 1384s # Start of rest tests 1384s ok 41 /option/arg/rest/non-option 1384s ok 42 /option/arg/rest/separator1 1384s ok 43 /option/arg/rest/separator2 1384s ok 44 /option/arg/rest/separator3 1384s ok 45 /option/arg/rest/separator4 1384s ok 46 /option/arg/rest/separator5 1384s # End of rest tests 1384s # End of arg tests 1384s # Start of context tests 1384s ok 47 /option/context/add 1384s ok 48 /option/context/empty2 1384s ok 49 /option/context/empty3 1384s # End of context tests 1384s # Start of bug tests 1384s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1384s ok 50 /option/bug/unknown-short 1384s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1384s ok 51 /option/bug/lonely-dash 1384s ok 52 /option/bug/triple-dash 1384s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1384s ok 53 /option/bug/missing-arg 1384s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1384s ok 54 /option/bug/dash-arg 1384s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1384s ok 55 /option/bug/short-remaining 1384s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1384s ok 56 /option/bug/double-free 1384s ok 57 /option/bug/double-zero 1384s # End of bug tests 1384s # End of option tests 1384s ok - glib/option-context.test 1384s # Running test: glib/gdbus-address-get-session.test 1384s TAP version 14 1384s # random seed: R02S21e0ad4975a89484010c8ec74e5ac1f9 1384s 1..2 1384s # Start of gdbus tests 1384s ok 1 /gdbus/x11-autolaunch 1384s ok 2 /gdbus/xdg-runtime 1384s # End of gdbus tests 1384s ok - glib/gdbus-address-get-session.test 1384s # Running test: glib/live-g-file.test 1384s TAP version 14 1384s # random seed: R02Sac89baaebb322a5c74bc105dd9d742d5 1384s 1..13 1384s # Start of live-g-file tests 1384s # Cleaning target testing structure in 'testdir_live-g-file'... 1384s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1384s ok 1 /live-g-file/prep_clean_structure 1384s # 1384s # Going to create testing structure in 'testdir_live-g-file'... 1384s # Creating directory 'dir1'... 1384s # Creating directory 'dir1/subdir'... 1384s # Creating directory 'dir2'... 1384s # Creating directory 'dir-target'... 1384s # Creating directory 'dir_no-access'... 1384s # Creating directory 'dir_no-write'... 1384s # Creating file 'target-file'... 1384s # Creating file 'normal_file'... 1384s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1384s # Creating file 'executable_file'... 1384s # Creating file 'private_file'... 1384s # Creating file 'normal_file2'... 1384s # Creating file 'readonly_file'... 1384s # Creating file 'UTF_pr?i?lis? z'... 1384s # Creating directory 'dir_pr?i?lis? z'... 1384s # Creating symlink 'lost_symlink' --> 'nowhere'... 1384s # Creating directory 'dir_hidden'... 1384s # Creating file 'dir_hidden/.a-hidden-file'... 1384s # Creating file 'dir_hidden/file-in-.hidden1'... 1384s # Creating file 'dir_hidden/file-in-.hidden2'... 1384s # Creating pattern file... 1384s # done. 1384s ok 2 /live-g-file/create_structure 1384s # Testing sample structure in 'testdir_live-g-file'... 1384s # Testing file 'dir1'... 1384s # Testing file 'dir1/subdir'... 1384s # Testing file 'dir2'... 1384s # Testing file 'dir-target'... 1384s # Testing file 'dir_no-access'... 1384s # Testing file 'dir_no-write'... 1384s # Testing file 'target-file'... 1384s # Testing file 'normal_file'... 1384s # Testing file 'normal_file-symlink'... 1384s # Testing file 'executable_file'... 1384s # Testing file 'private_file'... 1384s # Testing file 'normal_file2'... 1384s # Testing file 'readonly_file'... 1384s # Testing file 'UTF_pr?i?lis? z'... 1384s # Testing file 'dir_pr?i?lis? z'... 1384s # Testing file 'lost_symlink'... 1384s # Testing file 'dir_hidden'... 1384s # Testing file 'dir_hidden/.a-hidden-file'... 1384s # Testing file 'dir_hidden/file-in-.hidden1'... 1384s # Testing file 'dir_hidden/file-in-.hidden2'... 1384s # Testing pattern file... 1384s # read 65536 bytes, total = 65536 of 65536. 1384s ok 3 /live-g-file/test_initial_structure 1384s # Traversing through the sample structure in 'testdir_live-g-file'... 1384s # Found file dir1, relative to root: dir1 1384s # Found file subdir, relative to root: dir1/subdir 1384s # Found file dir2, relative to root: dir2 1384s # Found file dir-target, relative to root: dir-target 1384s # Found file dir_no-access, relative to root: dir_no-access 1384s # Found file dir_no-write, relative to root: dir_no-write 1384s # Found file target-file, relative to root: target-file 1384s # Found file normal_file, relative to root: normal_file 1384s # Found file normal_file-symlink, relative to root: normal_file-symlink 1384s # Found file executable_file, relative to root: executable_file 1384s # Found file private_file, relative to root: private_file 1384s # Found file normal_file2, relative to root: normal_file2 1384s # Found file readonly_file, relative to root: readonly_file 1384s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1384s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1384s # Found file lost_symlink, relative to root: lost_symlink 1384s # Found file dir_hidden, relative to root: dir_hidden 1384s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1384s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1384s # Found file .hidden, relative to root: dir_hidden/.hidden 1384s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1384s # Found file pattern_file, relative to root: pattern_file 1384s ok 4 /live-g-file/test_traverse_structure 1384s # Test enumerate 'testdir_live-g-file'... 1384s # Testing file 'dir_no-access' 1384s # Testing file 'normal_file' 1384s # Testing file 'normal_file-symlink' 1384s # Testing file 'not_exists' 1384s # Testing file 'not_exists' 1384s # Testing file 'not_exists2' 1384s # Testing file 'not_exists3' 1384s # Testing file 'not_exists4' 1384s # Testing file 'dir_no-execute/file' 1384s ok 5 /live-g-file/test_enumerate 1384s # test_open: 'dir1' 1384s # test_open: 'dir_no-access' 1384s # test_open: 'target-file' 1384s # test_open: 'normal_file-symlink' 1384s # test_open: 'executable_file' 1384s # test_open: 'private_file' 1384s # test_open: 'readonly_file' 1384s # test_open: 'UTF_pr?i?lis? z' 1384s # test_open: 'pattern_file' 1384s # test_open: 'not_exists' 1384s # test_open: 'dir_no-execute/file' 1384s # test_open: 'lost_symlink' 1384s ok 6 /live-g-file/test_open 1384s # test_create: 'dir1' 1384s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir1?: Is a directory 1384s # test_create: 'dir1/subdir' 1384s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir1/subdir?: Is a directory 1384s # test_create: 'dir2' 1384s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir2?: File exists 1384s # test_create: 'normal_file' 1384s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/normal_file?: File exists 1384s # test_create: 'executable_file' 1384s # test_create: 'private_file' 1384s # test_create: 'normal_file2' 1384s # test_create: 'UTF_pr?i?lis? z' 1384s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1384s # test_create: 'dir_pr?i?lis? z' 1384s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1384s # test_create: 'pattern_file' 1384s # test_create: 'not_exists2' 1384s # test_create: 'not_exists3' 1384s # test_create: 'not_exists4' 1384s ok 7 /live-g-file/test_create 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1384s # res = 0, error code 25 = Can?t recursively copy directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir1/subdir' --> '.' 1384s # res = 0, error code 2 = Target file exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir1/subdir' --> 'target-file' 1384s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1384s # res = 0, error code 25 = Can?t recursively copy directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1384s # res = 0, error code 25 = Can?t recursively copy directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1384s # res = 0, error code 25 = Can?t recursively copy directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir2' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir-target' --> 'dir-target' 1384s # res = 0, error code 25 = Can?t recursively copy directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir-target' --> '.' 1384s # res = 0, error code 2 = Target file exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir-target' --> 'target-file' 1384s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/dir-target?: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir-target' --> 'not_exists' 1384s # res = 0, error code 25 = Can?t recursively copy directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir-target' --> 'dir_no-access' 1384s # res = 0, error code 25 = Can?t recursively copy directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'dir-target' --> 'dir_no-write' 1384s # res = 0, error code 25 = Can?t recursively copy directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'target-file' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'target-file' --> '.' 1384s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file?: File exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'target-file' --> 'target-file' 1384s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/target-file?: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'target-file' --> 'not_exists' 1384s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'target-file' --> 'dir_no-access' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'target-file' --> 'dir_no-write' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file-symlink' --> '.' 1384s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/normal_file-symlink: File exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1384s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1384s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1384s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1384s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'executable_file' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'executable_file' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'executable_file' --> '.' 1384s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/executable_file?: File exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'executable_file' --> 'target-file' 1384s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/executable_file?: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'executable_file' --> 'not_exists' 1384s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'executable_file' --> 'dir_no-access' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'executable_file' --> 'dir_no-write' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'private_file' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'private_file' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'private_file' --> '.' 1384s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/private_file?: File exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'private_file' --> 'target-file' 1384s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/private_file?: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'private_file' --> 'not_exists' 1384s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'private_file' --> 'dir_no-access' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'private_file' --> 'dir_no-write' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file2' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file2' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file2' --> '.' 1384s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/normal_file2?: File exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file2' --> 'target-file' 1384s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file2' --> 'not_exists' 1384s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1384s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1384s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1384s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'pattern_file' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'pattern_file' --> '.' 1384s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/pattern_file?: File exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'pattern_file' --> 'target-file' 1384s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'pattern_file' --> 'not_exists' 1384s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1384s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'not_exists' --> 'dir-target' 1384s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'not_exists' --> '.' 1384s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'not_exists' --> 'target-file' 1384s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'not_exists' --> 'not_exists' 1384s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'not_exists' --> 'dir_no-access' 1384s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'not_exists' --> 'dir_no-write' 1384s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists?: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'not_exists' --> 'dir-target' 1384s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'lost_symlink' --> 'dir-target' 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'lost_symlink' --> '.' 1384s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/lost_symlink: File exists 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'lost_symlink' --> 'target-file' 1384s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'lost_symlink' --> 'not_exists' 1384s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1384s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1384s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1384s ok 8 /live-g-file/test_copy_move 1384s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir1 1384s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir1: Directory not empty 1384s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir2 1384s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir2: No such file or directory 1384s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/executable_file 1384s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/readonly_file 1384s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_pr?i?lis? z 1384s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists 1384s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists: No such file or directory 1384s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists 1384s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/not_exists: No such file or directory 1384s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-execute/file 1384s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1384s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-O3IRZ2/testdir_live-g-file/lost_symlink 1384s ok 9 /live-g-file/test_delete 1384s # We do not have CAP_DAC_OVERRIDE or equivalent 1384s ok 10 /live-g-file/test_make_directory_with_parents 1384s # Cleaning target testing structure in 'testdir_live-g-file'... 1384s # deleting 'dir1' 1384s # deleting 'subdir' 1384s # deleting 'dir-target' 1384s # deleting 'dir2' 1384s # deleting 'target-file' 1384s # deleting 'normal_file-symlink' 1384s # deleting 'pattern_file' 1384s # deleting 'executable_file' 1384s # deleting 'private_file' 1384s # deleting 'normal_file2' 1384s # deleting 'UTF_pr?i?lis? z' 1384s # deleting 'lost_symlink' 1384s # deleting 'dir_no-access' 1384s # deleting 'dir_no-write' 1384s # deleting 'target-file' 1384s # deleting 'normal_file' 1384s # deleting 'normal_file-symlink' 1384s # deleting 'executable_file~' 1384s # deleting 'private_file' 1384s # deleting 'normal_file2~' 1384s # deleting 'a' 1384s # deleting 'UTF_pr?i?lis? z' 1384s # deleting 'dir_hidden' 1384s # deleting '.a-hidden-file' 1384s # deleting 'file-in-.hidden1' 1384s # deleting '.hidden' 1384s # deleting 'file-in-.hidden2' 1384s # deleting 'pattern_file' 1384s # deleting 'normal_file2' 1384s # deleting 'not_exists2' 1384s # deleting 'not_exists3' 1384s # deleting 'not_exists4' 1384s ok 11 /live-g-file/final_clean 1384s # Start of test_unix_is_mountpoint tests 1384s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1384s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1384s # End of test_unix_is_mountpoint tests 1384s # End of live-g-file tests 1384s ok - glib/live-g-file.test 1384s # Running test: glib/cxx-17.test 1384s TAP version 14 1384s # random seed: R02S8dc5119783cc195d37cdff8fe1c098e4 1384s 1..2 1384s # Start of gtask tests 1384s # 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. 1384s ok 1 /gtask/name 1384s # Start of name tests 1384s # 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. 1384s ok 2 /gtask/name/macro-wrapper 1384s # End of name tests 1384s # End of gtask tests 1384s ok - glib/cxx-17.test 1384s # Running test: glib/test-printf.test 1384s TAP version 14 1384s # random seed: R02S472049fd8e62254d9c599c3bbc74f552 1384s 1..22 1384s # Start of snprintf tests 1384s ok 1 /snprintf/retval-and-trunc 1384s ok 2 /snprintf/%d 1384s ok 3 /snprintf/%d-invalid 1384s ok 4 /snprintf/%o 1384s ok 5 /snprintf/%u 1384s ok 6 /snprintf/%x 1384s ok 7 /snprintf/%X 1384s ok 8 /snprintf/%f 1384s ok 9 /snprintf/%e 1384s ok 10 /snprintf/%c 1384s ok 11 /snprintf/%s 1384s ok 12 /snprintf/%n 1384s ok 13 /snprintf/test-percent 1384s ok 14 /snprintf/test-positional-params 1384s ok 15 /snprintf/test-64bit 1384s # End of snprintf tests 1384s # Start of printf tests 1384s ok 16 /printf/test-percent 1384s ok 17 /printf/test-positional-params 1384s ok 18 /printf/test-64bit 1384s # Start of test-64bit tests 1384s # Start of subprocess tests 1384s # End of subprocess tests 1384s # End of test-64bit tests 1384s # End of printf tests 1384s # Start of sprintf tests 1384s ok 19 /sprintf/test-positional-params 1384s ok 20 /sprintf/upper-bound 1384s # End of sprintf tests 1384s # Start of vasprintf tests 1384s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1384s ok 21 /vasprintf/invalid-format-placeholder 1384s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1384s ok 22 /vasprintf/invalid-wide-string 1384s # End of vasprintf tests 1384s ok - glib/test-printf.test 1384s # Running test: glib/cxx.test 1384s TAP version 14 1384s # random seed: R02Sefb377a68043b5377d3633bf9b0c1257 1384s 1..2 1384s # Start of gtask tests 1384s # 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. 1384s ok 1 /gtask/name 1384s # Start of name tests 1384s # 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. 1384s ok 2 /gtask/name/macro-wrapper 1384s # End of name tests 1384s # End of gtask tests 1384s ok - glib/cxx.test 1384s # Running test: glib/dbus-appinfo.test 1384s TAP version 14 1384s # random seed: R02Sb705f17ff438cb8958b10801712640ab 1384s 1..3 1384s # Start of appinfo tests 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1384s ok 1 /appinfo/dbusappinfo 1384s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1384s dbus-daemon[11032]: [session uid=1000 pid=11032] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=11031 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1384s # Acquired a message bus connection 1384s dbus-daemon[11032]: [session uid=1000 pid=11032] Successfully activated service 'org.freedesktop.portal.Documents' 1384s # Acquired the name org.freedesktop.portal.Documents 1384s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1384s ok 2 /appinfo/flatpak-doc-export 1384s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1384s ok 3 /appinfo/flatpak-missing-doc-export 1384s # End of appinfo tests 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s # Lost the name org.freedesktop.portal.Documents 1384s ok - glib/dbus-appinfo.test 1384s # Running test: glib/sort.test 1384s TAP version 14 1384s # random seed: R02S7e6b2de88b4cf809d73341948d42f879 1384s 1..5 1384s # Start of sort tests 1384s ok 1 /sort/basic 1384s ok 2 /sort/zero-elements 1384s ok 3 /sort/stable 1384s ok 4 /sort/big 1384s ok 5 /sort/deprecated 1384s # End of sort tests 1384s ok - glib/sort.test 1384s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1384s TAP version 14 1384s # random seed: R02S9b2ba3ee4abe204d3f6b1843c9928de5 1384s 1..8 1384s # Start of gdbus tests 1384s # Start of codegen tests 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/annotations/.dirs/runtime 1384s ok 1 /gdbus/codegen/annotations 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/interface_stability/.dirs/runtime 1384s ok 2 /gdbus/codegen/interface_stability 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/object-manager/.dirs/runtime 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s ok 3 /gdbus/codegen/object-manager 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/property-naming/.dirs/runtime 1384s ok 4 /gdbus/codegen/property-naming 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/autocleanups/.dirs/runtime 1384s ok 5 /gdbus/codegen/autocleanups 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/deprecations/.dirs/runtime 1384s ok 6 /gdbus/codegen/deprecations 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1384s ok 7 /gdbus/codegen/standalone-interface-info 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_CB2VZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1384s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1384s ok 8 /gdbus/codegen/unix-fd-list 1384s # End of codegen tests 1384s # End of gdbus tests 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1384s ok - glib/gdbus-test-codegen-min-required-2-64.test 1384s # Running test: glib/genmarshal.py.test 1384s TAP version 13 1384s ok 1 __main__.TestGenmarshal.test_empty_list 1384s # tmpdir: /tmp/tmpe77y8j81 1384s # genmarshal: /usr/bin/glib-genmarshal 1384s # /tmp/tmpe77y8j81/tmpj36pxhst.list: 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpe77y8j81/tmpj36pxhst.list', '--header', '--quiet'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # 1384s # #include 1384s # 1384s # G_BEGIN_DECLS 1384s # 1384s # 1384s # G_END_DECLS 1384s # 1384s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpe77y8j81/tmpj36pxhst.list', '--body', '--quiet'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #include 1384s # 1384s # #ifdef G_ENABLE_DEBUG 1384s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1384s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1384s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1384s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1384s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1384s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1384s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1384s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1384s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1384s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1384s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1384s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1384s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1384s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1384s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1384s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1384s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1384s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1384s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1384s # #else /* !G_ENABLE_DEBUG */ 1384s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1384s # * Do not access GValues directly in your code. Instead, use the 1384s # * g_value_get_*() functions 1384s # */ 1384s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1384s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1384s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1384s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1384s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1384s # #endif /* !G_ENABLE_DEBUG */ 1384s ok 2 __main__.TestGenmarshal.test_help 1384s # tmpdir: /tmp/tmpzhy0nf4o 1384s # genmarshal: /usr/bin/glib-genmarshal 1384s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1384s # [--internal] [--valist-marshallers] [-v] 1384s # [--g-fatal-warnings] [--include-header [HEADER]] 1384s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1384s # [--prototypes] [--header] [--body] [--stdinc | 1384s # --nostdinc] [--quiet | --verbose] 1384s # [FILE ...] 1384s # 1384s # Generate signal marshallers for GObject 1384s # 1384s # positional arguments: 1384s # FILE Files with lists of marshallers to generate, or "-" 1384s # for standard input 1384s # 1384s # options: 1384s # -h, --help show this help message and exit 1384s # --prefix STRING Specify marshaller prefix 1384s # --output FILE Write output into the specified file 1384s # --skip-source Skip source location comments 1384s # --internal Mark generated functions as internal 1384s # --valist-marshallers Generate va_list marshallers 1384s # -v, --version Print version information, and exit 1384s # --g-fatal-warnings Make warnings fatal 1384s # --include-header [HEADER] 1384s # Include the specified header in the body 1384s # --pragma-once Use "pragma once" as the inclusion guard 1384s # -D CPP_DEFINES Pre-processor define 1384s # -U CPP_UNDEFINES Pre-processor undefine 1384s # --prototypes Generate the marshallers prototype in the C code 1384s # --header Generate C headers 1384s # --body Generate C code 1384s # --stdinc Include standard marshallers 1384s # --nostdinc Use standard marshallers 1384s # --quiet Only print warnings and errors 1384s # --verbose Be verbose, and include debugging information 1384s ok 3 __main__.TestGenmarshal.test_no_args 1384s # tmpdir: /tmp/tmp__g8x2jk 1384s # genmarshal: /usr/bin/glib-genmarshal 1384s # Running: ['/usr/bin/glib-genmarshal'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # Output: 1384s ok 4 __main__.TestGenmarshal.test_void_boolean 1384s # tmpdir: /tmp/tmpz59wbwnr 1384s # genmarshal: /usr/bin/glib-genmarshal 1384s # /tmp/tmpz59wbwnr/tmp253mqwy9.list: VOID:BOOLEAN 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpz59wbwnr/tmp253mqwy9.list', '--header', '--quiet'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # 1384s # #include 1384s # 1384s # G_BEGIN_DECLS 1384s # 1384s # /* VOID:BOOLEAN (/tmp/tmpz59wbwnr/tmp253mqwy9.list:1) */ 1384s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1384s # 1384s # 1384s # G_END_DECLS 1384s # 1384s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpz59wbwnr/tmp253mqwy9.list', '--body', '--quiet'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #include 1384s # 1384s # #ifdef G_ENABLE_DEBUG 1384s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1384s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1384s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1384s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1384s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1384s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1384s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1384s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1384s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1384s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1384s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1384s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1384s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1384s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1384s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1384s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1384s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1384s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1384s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1384s # #else /* !G_ENABLE_DEBUG */ 1384s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1384s # * Do not access GValues directly in your code. Instead, use the 1384s # * g_value_get_*() functions 1384s # */ 1384s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1384s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1384s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1384s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1384s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1384s # #endif /* !G_ENABLE_DEBUG */ 1384s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1384s # tmpdir: /tmp/tmp_c1mly12 1384s # genmarshal: /usr/bin/glib-genmarshal 1384s # /tmp/tmp_c1mly12/tmppuuedo8x.list: VOID:BOOLEAN,INT64 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_c1mly12/tmppuuedo8x.list', '--header', '--quiet'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # 1384s # #include 1384s # 1384s # G_BEGIN_DECLS 1384s # 1384s # /* VOID:BOOLEAN,INT64 (/tmp/tmp_c1mly12/tmppuuedo8x.list:1) */ 1384s # extern 1384s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1384s # GValue *return_value, 1384s # guint n_param_values, 1384s # const GValue *param_values, 1384s # gpointer invocation_hint, 1384s # gpointer marshal_data); 1384s # 1384s # 1384s # G_END_DECLS 1384s # 1384s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_c1mly12/tmppuuedo8x.list', '--body', '--quiet'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #include 1384s # 1384s # #ifdef G_ENABLE_DEBUG 1384s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1384s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1384s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1384s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1384s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1384s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1384s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1384s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1384s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1384s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1384s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1384s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1384s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1384s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1384s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1384s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1384s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1384s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1384s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1384s # #else /* !G_ENABLE_DEBUG */ 1384s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1384s # * Do not access GValues directly in your code. Instead, use the 1384s # * g_value_get_*() functions 1384s # */ 1384s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1384s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1384s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1384s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1384s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1384s # #endif /* !G_ENABLE_DEBUG */ 1384s # 1384s # /* VOID:BOOLEAN,INT64 (/tmp/tmp_c1mly12/tmppuuedo8x.list:1) */ 1384s # void 1384s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1384s # GValue *return_value G_GNUC_UNUSED, 1384s # guint n_param_values, 1384s # const GValue *param_values, 1384s # gpointer invocation_hint G_GNUC_UNUSED, 1384s # gpointer marshal_data) 1384s # { 1384s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1384s # gboolean arg1, 1384s # gint64 arg2, 1384s # gpointer data2); 1384s # GCClosure *cc = (GCClosure *) closure; 1384s # gpointer data1, data2; 1384s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1384s # 1384s # g_return_if_fail (n_param_values == 3); 1384s # 1384s # if (G_CCLOSURE_SWAP_DATA (closure)) 1384s # { 1384s # data1 = closure->data; 1384s # data2 = g_value_peek_pointer (param_values + 0); 1384s # } 1384s # else 1384s # { 1384s # data1 = g_value_peek_pointer (param_values + 0); 1384s # data2 = closure->data; 1384s # } 1384s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1384s # 1384s # callback (data1, 1384s # g_marshal_value_peek_boolean (param_values + 1), 1384s # g_marshal_value_peek_int64 (param_values + 2), 1384s # data2); 1384s # } 1384s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1384s # tmpdir: /tmp/tmpnz025kh_ 1384s # genmarshal: /usr/bin/glib-genmarshal 1384s # /tmp/tmpnz025kh_/tmpormyfx9v.list: VOID:PARAM 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnz025kh_/tmpormyfx9v.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # 1384s # G_BEGIN_DECLS 1384s # 1384s # /* VOID:PARAM (/tmp/tmpnz025kh_/tmpormyfx9v.list:1) */ 1384s # extern 1384s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1384s # GValue *return_value, 1384s # guint n_param_values, 1384s # const GValue *param_values, 1384s # gpointer invocation_hint, 1384s # gpointer marshal_data); 1384s # extern 1384s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1384s # GValue *return_value, 1384s # gpointer instance, 1384s # va_list args, 1384s # gpointer marshal_data, 1384s # int n_params, 1384s # GType *param_types); 1384s # 1384s # 1384s # G_END_DECLS 1384s # 1384s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnz025kh_/tmpormyfx9v.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #ifdef G_ENABLE_DEBUG 1384s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1384s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1384s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1384s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1384s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1384s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1384s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1384s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1384s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1384s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1384s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1384s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1384s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1384s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1384s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1384s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1384s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1384s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1384s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1384s # #else /* !G_ENABLE_DEBUG */ 1384s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1384s # * Do not access GValues directly in your code. Instead, use the 1384s # * g_value_get_*() functions 1384s # */ 1384s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1384s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1384s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1384s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1384s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1384s # #endif /* !G_ENABLE_DEBUG */ 1384s # 1384s # /* VOID:PARAM (/tmp/tmpnz025kh_/tmpormyfx9v.list:1) */ 1384s # void 1384s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1384s # GValue *return_value G_GNUC_UNUSED, 1384s # guint n_param_values, 1384s # const GValue *param_values, 1384s # gpointer invocation_hint G_GNUC_UNUSED, 1384s # gpointer marshal_data) 1384s # { 1384s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1384s # gpointer arg1, 1384s # gpointer data2); 1384s # GCClosure *cc = (GCClosure *) closure; 1384s # gpointer data1, data2; 1384s # GMarshalFunc_VOID__PARAM callback; 1384s # 1384s # g_return_if_fail (n_param_values == 2); 1384s # 1384s # if (G_CCLOSURE_SWAP_DATA (closure)) 1384s # { 1384s # data1 = closure->data; 1384s # data2 = g_value_peek_pointer (param_values + 0); 1384s # } 1384s # else 1384s # { 1384s # data1 = g_value_peek_pointer (param_values + 0); 1384s # data2 = closure->data; 1384s # } 1384s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1384s # 1384s # callback (data1, 1384s # g_marshal_value_peek_param (param_values + 1), 1384s # data2); 1384s # } 1384s # 1384s # void 1384s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1384s # GValue *return_value G_GNUC_UNUSED, 1384s # gpointer instance, 1384s # va_list args, 1384s # gpointer marshal_data, 1384s # int n_params, 1384s # GType *param_types) 1384s # { 1384s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1384s # gpointer arg1, 1384s # gpointer data2); 1384s # GCClosure *cc = (GCClosure *) closure; 1384s # gpointer data1, data2; 1384s # GMarshalFunc_VOID__PARAM callback; 1384s # gpointer arg0; 1384s # va_list args_copy; 1384s # 1384s # va_copy (args_copy, args); 1384s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1384s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1384s # arg0 = g_param_spec_ref (arg0); 1384s # va_end (args_copy); 1384s # 1384s # 1384s # if (G_CCLOSURE_SWAP_DATA (closure)) 1384s # { 1384s # data1 = closure->data; 1384s # data2 = instance; 1384s # } 1384s # else 1384s # { 1384s # data1 = instance; 1384s # data2 = closure->data; 1384s # } 1384s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1384s # 1384s # callback (data1, 1384s # arg0, 1384s # data2); 1384s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1384s # g_param_spec_unref (arg0); 1384s # } 1384s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1384s # tmpdir: /tmp/tmp7argelb6 1384s # genmarshal: /usr/bin/glib-genmarshal 1384s # /tmp/tmp7argelb6/tmptvvjglo2.list: VOID:STRING 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7argelb6/tmptvvjglo2.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # 1384s # G_BEGIN_DECLS 1384s # 1384s # /* VOID:STRING (/tmp/tmp7argelb6/tmptvvjglo2.list:1) */ 1384s # extern 1384s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1384s # GValue *return_value, 1384s # guint n_param_values, 1384s # const GValue *param_values, 1384s # gpointer invocation_hint, 1384s # gpointer marshal_data); 1384s # extern 1384s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1384s # GValue *return_value, 1384s # gpointer instance, 1384s # va_list args, 1384s # gpointer marshal_data, 1384s # int n_params, 1384s # GType *param_types); 1384s # 1384s # 1384s # G_END_DECLS 1384s # 1384s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7argelb6/tmptvvjglo2.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #ifdef G_ENABLE_DEBUG 1384s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1384s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1384s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1384s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1384s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1384s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1384s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1384s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1384s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1384s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1384s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1384s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1384s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1384s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1384s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1384s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1384s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1384s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1384s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1384s # #else /* !G_ENABLE_DEBUG */ 1384s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1384s # * Do not access GValues directly in your code. Instead, use the 1384s # * g_value_get_*() functions 1384s # */ 1384s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1384s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1384s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1384s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1384s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1384s # #endif /* !G_ENABLE_DEBUG */ 1384s # 1384s # /* VOID:STRING (/tmp/tmp7argelb6/tmptvvjglo2.list:1) */ 1384s # void 1384s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1384s # GValue *return_value G_GNUC_UNUSED, 1384s # guint n_param_values, 1384s # const GValue *param_values, 1384s # gpointer invocation_hint G_GNUC_UNUSED, 1384s # gpointer marshal_data) 1384s # { 1384s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1384s # gpointer arg1, 1384s # gpointer data2); 1384s # GCClosure *cc = (GCClosure *) closure; 1384s # gpointer data1, data2; 1384s # GMarshalFunc_VOID__STRING callback; 1384s # 1384s # g_return_if_fail (n_param_values == 2); 1384s # 1384s # if (G_CCLOSURE_SWAP_DATA (closure)) 1384s # { 1384s # data1 = closure->data; 1384s # data2 = g_value_peek_pointer (param_values + 0); 1384s # } 1384s # else 1384s # { 1384s # data1 = g_value_peek_pointer (param_values + 0); 1384s # data2 = closure->data; 1384s # } 1384s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1384s # 1384s # callback (data1, 1384s # g_marshal_value_peek_string (param_values + 1), 1384s # data2); 1384s # } 1384s # 1384s # void 1384s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1384s # GValue *return_value G_GNUC_UNUSED, 1384s # gpointer instance, 1384s # va_list args, 1384s # gpointer marshal_data, 1384s # int n_params, 1384s # GType *param_types) 1384s # { 1384s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1384s # gpointer arg1, 1384s # gpointer data2); 1384s # GCClosure *cc = (GCClosure *) closure; 1384s # gpointer data1, data2; 1384s # GMarshalFunc_VOID__STRING callback; 1384s # gpointer arg0; 1384s # va_list args_copy; 1384s # 1384s # va_copy (args_copy, args); 1384s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1384s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1384s # arg0 = g_strdup (arg0); 1384s # va_end (args_copy); 1384s # 1384s # 1384s # if (G_CCLOSURE_SWAP_DATA (closure)) 1384s # { 1384s # data1 = closure->data; 1384s # data2 = instance; 1384s # } 1384s # else 1384s # { 1384s # data1 = instance; 1384s # data2 = closure->data; 1384s # } 1384s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1384s # 1384s # callback (data1, 1384s # arg0, 1384s # data2); 1384s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1384s # g_free (arg0); 1384s # } 1384s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1384s # tmpdir: /tmp/tmpaxwspri4 1384s # genmarshal: /usr/bin/glib-genmarshal 1384s # /tmp/tmpaxwspri4/tmp35blksug.list: VOID:VARIANT 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpaxwspri4/tmp35blksug.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1384s # 1384s # G_BEGIN_DECLS 1384s # 1384s # /* VOID:VARIANT (/tmp/tmpaxwspri4/tmp35blksug.list:1) */ 1384s # extern 1384s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1384s # GValue *return_value, 1384s # guint n_param_values, 1384s # const GValue *param_values, 1384s # gpointer invocation_hint, 1384s # gpointer marshal_data); 1384s # extern 1384s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1384s # GValue *return_value, 1384s # gpointer instance, 1384s # va_list args, 1384s # gpointer marshal_data, 1384s # int n_params, 1384s # GType *param_types); 1384s # 1384s # 1384s # G_END_DECLS 1384s # 1384s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1384s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpaxwspri4/tmp35blksug.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1384s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.13.1-1~exp2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r7BXef5WqD,guid=ce40a89e37f849af6ac3a65767781201', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.D93pOL/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.XWVTzY2wIY', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.VmSYyI/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.D93pOL/wrapper.sh --artifacts=/tmp/autopkgtest.D93pOL/installed-tests-artifacts --chdir=/tmp/autopkgtest.D93pOL/build.YOD/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.D93pOL/installed-tests-stderr --stdout=/tmp/autopkgtest.D93pOL/installed-tests-stdout --tmp=/tmp/autopkgtest.D93pOL/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' --make-executable=/tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests -- /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.D93pOL/build.YOD/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.D93pOL/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1384s # 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. */ 1384s # #ifdef G_ENABLE_DEBUG 1384s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1384s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1384s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1384s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1384s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1384s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1384s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1384s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1384s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1384s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1384s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1384s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1384s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1384s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1384s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1384s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1384s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1384s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1384s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1384s # #else /* !G_ENABLE_DEBUG */ 1384s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1384s # * Do not access GValues directly in your code. Instead, use the 1384s # * g_value_get_*() functions 1384s # */ 1384s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1384s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1384s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1384s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1384s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1384s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1384s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1384s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1384s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1384s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1384s # #endif /* !G_ENABLE_DEBUG */ 1384s # 1384s # /* VOID:VARIANT (/tmp/tmpaxwspri4/tmp35blksug.list:1) */ 1384s # void 1384s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1384s # GValue *return_value G_GNUC_UNUSED, 1384s # guint n_param_values, 1384s # const GValue *param_values, 1384s # gpointer invocation_hint G_GNUC_UNUSED, 1384s # gpointer marshal_data) 1384s # { 1384s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1384s # gpointer arg1, 1384s # gpointer data2); 1384s # GCClosure *cc = (GCClosure *) closure; 1384s # gpointer data1, data2; 1384s # GMarshalFunc_VOID__VARIANT callback; 1384s # 1384s # g_return_if_fail (n_param_values == 2); 1384s # 1384s # if (G_CCLOSURE_SWAP_DATA (closure)) 1384s # { 1384s # data1 = closure->data; 1384s # data2 = g_value_peek_pointer (param_values + 0); 1384s # } 1384s # else 1384s # { 1384s # data1 = g_value_peek_pointer (param_values + 0); 1384s # data2 = closure->data; 1384s # } 1384s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1384s # 1384s # callback (data1, 1384s # g_marshal_value_peek_variant (param_values + 1), 1384s # data2); 1384s # } 1384s # 1384s # void 1384s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1384s # GValue *return_value G_GNUC_UNUSED, 1384s # gpointer instance, 1384s # va_list args, 1384s # gpointer marshal_data, 1384s # int n_params, 1384s # GType *param_types) 1384s # { 1384s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1384s # gpointer arg1, 1384s # gpointer data2); 1384s # GCClosure *cc = (GCClosure *) closure; 1384s # gpointer data1, data2; 1384s # GMarshalFunc_VOID__VARIANT callback; 1384s # gpointer arg0; 1384s # va_list args_copy; 1384s # 1384s # va_copy (args_copy, args); 1384s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1384s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1384s # arg0 = g_variant_ref_sink (arg0); 1384s # va_end (args_copy); 1384s # 1384s # 1384s # if (G_CCLOSURE_SWAP_DATA (closure)) 1384s # { 1384s # data1 = closure->data; 1384s # data2 = instance; 1384s # } 1384s # else 1384s # { 1384s # data1 = instance; 1384s # data2 = closure->data; 1384s # } 1384s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1384s # 1384s # callback (data1, 1384s # arg0, 1384s # data2); 1384s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1384s # g_variant_unref (arg0); 1384s # } 1384s 1..8 1384s ok - glib/genmarshal.py.test 1384s # Running test: glib/threadtests.test 1384s TAP version 14 1384s # random seed: R02S70fc3b881ffb05dc25234c3e87592b82 1384s 1..5 1384s # Start of GObject tests 1384s ok 1 /GObject/threaded-object-init 1385s ok 2 /GObject/threaded-weak-ref 1385s # slow test /GObject/threaded-weak-ref executed in 0.66 secs 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1385s # /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 1385s ok 3 /GObject/threaded-toggle-notify 1385s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1385s # Start of threaded-weak-ref tests 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1385s # /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. 1385s ok 5 /GObject/threaded-weak-ref/on-finalization 1385s # End of threaded-weak-ref tests 1385s # End of GObject tests 1385s ok - glib/threadtests.test 1385s # Running test: glib/utf8-pointer.test 1385s TAP version 14 1385s # random seed: R02S4d08daff1dad4941f85984e236440d55 1385s 1..3 1385s # Start of utf8 tests 1386s ok 1 /utf8/offsets 1386s # slow test /utf8/offsets executed in 0.96 secs 1386s ok 2 /utf8/lengths 1386s ok 3 /utf8/find 1386s # End of utf8 tests 1386s ok - glib/utf8-pointer.test 1386s # Running test: glib/permission.test 1386s TAP version 14 1386s # random seed: R02Sac308d3e87a7185da2feb0e39fb7f74f 1386s 1..1 1386s # Start of permission tests 1386s ok 1 /permission/simple 1386s # End of permission tests 1386s ok - glib/permission.test 1386s # Running test: glib/mount-operation.test 1386s TAP version 14 1386s # random seed: R02Sb4930301d811a6066b18ff3f4ad06597 1386s 1..2 1386s # Start of mount-operation tests 1386s ok 1 /mount-operation/construction 1386s ok 2 /mount-operation/properties 1386s # End of mount-operation tests 1386s ok - glib/mount-operation.test 1386s # Running test: glib/ifaceproperties.test 1386s TAP version 14 1386s # random seed: R02S1b90bbbd1639355dd588dc02041e0983 1386s 1..7 1386s # Start of interface tests 1386s # Start of properties tests 1386s ok 1 /interface/properties/set 1386s ok 2 /interface/properties/notify 1386s ok 3 /interface/properties/find-overridden 1386s ok 4 /interface/properties/list-overridden 1386s ok 5 /interface/properties/find-interface 1386s ok 6 /interface/properties/list-interface 1386s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1386s ok 7 /interface/properties/not-overridden 1386s # End of properties tests 1386s # End of interface tests 1386s ok - glib/ifaceproperties.test 1386s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=180.4s; system=67.2s; maxrss=147312 1387s autopkgtest [16:42:05]: test installed-tests: -----------------------] 1388s installed-tests PASS 1388s autopkgtest [16:42:06]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1388s autopkgtest [16:42:06]: test closure-refcount: preparing testbed 1388s Reading package lists... 1389s Building dependency tree... 1389s Reading state information... 1389s Starting pkgProblemResolver with broken count: 0 1389s Starting 2 pkgProblemResolver with broken count: 0 1389s Done 1390s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1391s autopkgtest [16:42:09]: test closure-refcount: [----------------------- 1391s Running test: glib/closure-refcount.test 1391s TAP version 14 1391s # random seed: R02Sace26c0fc873d96857250e9b01e3671d 1391s 1..1 1391s # Start of closure tests 1391s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1391s # End of closure tests 1391s PASS: glib/closure-refcount.test 1391s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3268 1391s autopkgtest [16:42:09]: test closure-refcount: -----------------------] 1392s autopkgtest [16:42:10]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1392s closure-refcount PASS 1392s autopkgtest [16:42:10]: test debugcontroller: preparing testbed 1392s Reading package lists... 1393s Building dependency tree... 1393s Reading state information... 1393s Starting pkgProblemResolver with broken count: 0 1393s Starting 2 pkgProblemResolver with broken count: 0 1393s Done 1394s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1395s autopkgtest [16:42:13]: test debugcontroller: [----------------------- 1395s Running test: glib/debugcontroller.test 1395s TAP version 14 1395s # random seed: R02Sb0273be65c5d14b7f814c1fa699ea70e 1395s 1..3 1395s # Start of debug-controller tests 1395s # Start of dbus tests 1395s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1395s # GLib-GIO-DEBUG: Debug output enabled 1395s # GLib-GIO-DEBUG: Debug output disabled 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s ok 1 /debug-controller/dbus/basic 1395s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s ok 2 /debug-controller/dbus/duplicate 1395s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1395s # GLib-GIO-DEBUG: Debug output enabled 1395s # GLib-GIO-DEBUG: Debug output disabled 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1395s ok 3 /debug-controller/dbus/properties 1395s # End of dbus tests 1395s # End of debug-controller tests 1395s PASS: glib/debugcontroller.test 1395s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5848 1395s autopkgtest [16:42:13]: test debugcontroller: -----------------------] 1396s debugcontroller PASS 1396s autopkgtest [16:42:14]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1396s autopkgtest [16:42:14]: test gdbus-server-auth: preparing testbed 1397s Reading package lists... 1397s Building dependency tree... 1397s Reading state information... 1397s Starting pkgProblemResolver with broken count: 0 1397s Starting 2 pkgProblemResolver with broken count: 0 1397s Done 1398s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1399s autopkgtest [16:42:17]: test gdbus-server-auth: [----------------------- 1399s Running test: glib/gdbus-server-auth.test 1399s TAP version 14 1399s # random seed: R02S5ecd8c266995b734963c1179c80394c9 1399s 1..9 1399s # Start of gdbus tests 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/.dirs/runtime 1399s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-PAU2Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1399s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-PAU2Z2/dbus-8coDk7Nv 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16543 1399s ok 1 /gdbus/server-auth 1399s # Start of server-auth tests 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/abstract/.dirs/runtime 1399s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-1T52Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1399s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-1T52Z2/dbus-RNLin4qm 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16543 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1399s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16543 1399s ok 2 /gdbus/server-auth/abstract 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/tcp/.dirs/runtime 1399s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1399s # Connectable address: tcp:host=127.0.0.1,port=37729 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1399s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1399s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1399s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1399s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1399s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1400s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1400s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1400s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1400s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1400s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1400s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1400s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1400s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1400s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1400s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1400s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1400s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1400s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1400s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1400s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1400s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1400s ok 3 /gdbus/server-auth/tcp 1400s # slow test /gdbus/server-auth/tcp executed in 0.86 secs 1400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/home 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/cache 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/system-config2 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/config 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/system-data2 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/data 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/state 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/.dirs/runtime 1400s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-W59ZZ2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1400s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-W59ZZ2/dbus-jaCgfbsR 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16543 1400s ok 4 /gdbus/server-auth/anonymous 1400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/home 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/cache 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/system-config2 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/config 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/system-data2 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/data 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/state 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/.dirs/runtime 1400s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-86L0Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1400s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-86L0Z2/dbus-7rA0lgii 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1400s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16543 1400s ok 5 /gdbus/server-auth/external 1400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/home 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/cache 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/system-config2 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/config 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/system-data2 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/data 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/state 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/.dirs/runtime 1400s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-JVT0Z2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1400s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-JVT0Z2/dbus-ELcTVoXk 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16543 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1400s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16543 1400s ok 6 /gdbus/server-auth/sha1 1400s # Start of anonymous tests 1400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/home 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/config 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/data 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/state 1400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1400s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1400s # Connectable address: tcp:host=127.0.0.1,port=46183 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1400s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1400s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1400s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1400s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1400s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1401s ok 7 /gdbus/server-auth/anonymous/tcp 1401s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.87 secs 1401s # End of anonymous tests 1401s # Start of external tests 1401s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/home 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/cache 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/config 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/data 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/state 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1401s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-4SFZZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1401s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NIU2Z2/gdbus-server-auth-4SFZZ2/dbus-hK7ImdGd 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16543 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1401s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16543,uid=1000,gid=1000 1401s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16543 1401s ok 8 /gdbus/server-auth/external/require-same-user 1401s # End of external tests 1401s # Start of sha1 tests 1401s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/home 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/cache 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/config 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/data 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/state 1401s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NIU2Z2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1401s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1401s # Connectable address: tcp:host=127.0.0.1,port=37909 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1401s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1401s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1401s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1401s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1401s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1402s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1402s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1402s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1402s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1402s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1402s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1402s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1402s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1402s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1402s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1402s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1402s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1402s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1402s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1402s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1402s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1402s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1402s ok 9 /gdbus/server-auth/sha1/tcp 1402s # slow test /gdbus/server-auth/sha1/tcp executed in 0.87 secs 1402s # End of sha1 tests 1402s # End of server-auth tests 1402s # End of gdbus tests 1402s PASS: glib/gdbus-server-auth.test 1402s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8156 1402s autopkgtest [16:42:20]: test gdbus-server-auth: -----------------------] 1403s gdbus-server-auth PASS 1403s autopkgtest [16:42:21]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1403s autopkgtest [16:42:21]: test gdbus-threading: preparing testbed 1403s Reading package lists... 1403s Building dependency tree... 1403s Reading state information... 1404s Starting pkgProblemResolver with broken count: 0 1404s Starting 2 pkgProblemResolver with broken count: 0 1404s Done 1405s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1406s autopkgtest [16:42:24]: test gdbus-threading: [----------------------- 1406s Running test: glib/gdbus-threading.test 1406s TAP version 14 1406s # random seed: R02Scd2052bca200929c5efa40a69e15af99 1406s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1406s 1..3 1406s # Start of gdbus tests 1406s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/home 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/cache 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/system-config2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/config 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/system-data2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/data 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/state 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_T7CYZ2/gdbus/delivery-in-thread/.dirs/runtime 1406s ok 1 /gdbus/delivery-in-thread 1406s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/home 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/cache 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/system-config2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/config 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/system-data2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/data 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/state 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_T7CYZ2/gdbus/method-calls-in-thread/.dirs/runtime 1407s ok 2 /gdbus/method-calls-in-thread 1407s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 1407s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/home 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/cache 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/system-config2 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/config 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/system-data2 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/data 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/state 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_T7CYZ2/gdbus/threaded-singleton/.dirs/runtime 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: refcount of 0xe5e538002830 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e538002830 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: refcount of 0xe5e538002830 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: refcount of 0xe5e5380031f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: refcount of 0xe5e5380031f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: refcount of 0xe5e5380065f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e538001bc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e538006ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e538001ed0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e5380042a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e5380042a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e5380042a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e538001ed0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e5380048b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e5380040c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: refcount of 0xe5e538001ed0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s ok 3 /gdbus/threaded-singleton 1408s # slow test /gdbus/threaded-singleton executed in 1.70 secs 1408s # End of gdbus tests 1408s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1408s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1408s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1408s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1408s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1408s PASS: glib/gdbus-threading.test 1408s cleaning up pid 16700 1408s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.3s; maxrss=5884 1409s autopkgtest [16:42:27]: test gdbus-threading: -----------------------] 1409s autopkgtest [16:42:27]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1409s gdbus-threading PASS 1410s autopkgtest [16:42:28]: test gmenumodel: preparing testbed 1410s Reading package lists... 1410s Building dependency tree... 1410s Reading state information... 1410s Starting pkgProblemResolver with broken count: 0 1411s Starting 2 pkgProblemResolver with broken count: 0 1411s Done 1411s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1412s autopkgtest [16:42:30]: test gmenumodel: [----------------------- 1412s Running test: glib/gmenumodel.test 1412s TAP version 14 1412s # random seed: R02S8436c379e9f208b345f2471d59017739 1412s 1..15 1412s # Start of gmenu tests 1413s ok 1 /gmenu/equality 1413s # slow test /gmenu/equality executed in 0.59 secs 1414s ok 2 /gmenu/random 1414s # slow test /gmenu/random executed in 0.68 secs 1414s ok 3 /gmenu/attributes 1414s ok 4 /gmenu/links 1414s ok 5 /gmenu/mutable 1414s ok 6 /gmenu/convenience 1414s ok 7 /gmenu/menuitem 1414s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1414s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1414s ok 8 /gmenu/input-validation 1414s # Start of dbus tests 1414s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1415s ok 9 /gmenu/dbus/roundtrip 1415s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1415s ok 10 /gmenu/dbus/subscriptions 1416s ok 11 /gmenu/dbus/threaded 1416s # slow test /gmenu/dbus/threaded executed in 0.91 secs 1416s # Start of peer tests 1417s ok 12 /gmenu/dbus/peer/roundtrip 1417s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1418s ok 13 /gmenu/dbus/peer/subscriptions 1418s # End of peer tests 1418s # Start of export tests 1418s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1418s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1418s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1418s ok 14 /gmenu/dbus/export/error-handling 1418s # End of export tests 1418s # End of dbus tests 1418s # Start of attributes tests 1418s ok 15 /gmenu/attributes/iterate 1418s # End of attributes tests 1418s # End of gmenu tests 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s PASS: glib/gmenumodel.test 1418s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.9s; system=0.2s; maxrss=23956 1418s autopkgtest [16:42:36]: test gmenumodel: -----------------------] 1418s gmenumodel PASS 1418s autopkgtest [16:42:36]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1419s autopkgtest [16:42:37]: test mainloop: preparing testbed 1419s Reading package lists... 1419s Building dependency tree... 1419s Reading state information... 1420s Starting pkgProblemResolver with broken count: 0 1420s Starting 2 pkgProblemResolver with broken count: 0 1420s Done 1421s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1422s autopkgtest [16:42:40]: test mainloop: [----------------------- 1422s Running test: glib/mainloop.test 1422s TAP version 14 1422s # random seed: R02Sea368abf2865cf826ae663f55576a9d4 1422s 1..45 1422s # Start of maincontext tests 1422s ok 1 /maincontext/basic 1422s # Add same-priority sources: 17 1422s # Find each source: 2 1422s # Remove in random order: 45 1422s ok 2 /maincontext/nsources_same_priority 1422s # Add different-priority sources: 18 1422s # Find each source: 2 1422s # Remove in random order: 44 1422s ok 3 /maincontext/nsources_different_priority 1422s # Add sources from threads: 157 1422s # Remove sources from threads: 150 1422s ok 4 /maincontext/nsources_threadpool 1422s ok 5 /maincontext/source_finalization 1422s # /maincontext/idle-once summary: Test g_idle_add_once() works 1422s ok 6 /maincontext/idle-once 1422s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1422s ok 7 /maincontext/timeout-once 1422s # Start of source_finalization_from_source tests 1422s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 8 /maincontext/source_finalization_from_source/0 1422s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 9 /maincontext/source_finalization_from_source/1 1422s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 10 /maincontext/source_finalization_from_source/2 1422s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 11 /maincontext/source_finalization_from_source/3 1422s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 12 /maincontext/source_finalization_from_source/4 1422s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 13 /maincontext/source_finalization_from_source/5 1422s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 14 /maincontext/source_finalization_from_source/6 1422s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 15 /maincontext/source_finalization_from_source/7 1422s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 16 /maincontext/source_finalization_from_source/8 1422s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1422s ok 17 /maincontext/source_finalization_from_source/9 1422s # End of source_finalization_from_source tests 1422s # Start of source_finalization_from_dispatch tests 1422s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1422s ok 18 /maincontext/source_finalization_from_dispatch/0 1422s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1422s ok 19 /maincontext/source_finalization_from_dispatch/1 1422s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1422s ok 20 /maincontext/source_finalization_from_dispatch/2 1422s # End of source_finalization_from_dispatch tests 1422s # End of maincontext tests 1422s # Start of mainloop tests 1422s ok 21 /mainloop/basic 1422s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1422s ok 23 /mainloop/priorities 1423s ok 24 /mainloop/invoke 1423s # slow test /mainloop/invoke executed in 0.50 secs 1424s ok 25 /mainloop/child_sources 1424s # slow test /mainloop/child_sources executed in 1.21 secs 1426s ok 26 /mainloop/recursive_child_sources 1426s # slow test /mainloop/recursive_child_sources executed in 2.19 secs 1426s ok 27 /mainloop/recursive_loop_child_sources 1426s ok 28 /mainloop/swapping_child_sources 1426s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1426s ok 29 /mainloop/blocked_child_sources 1427s Executing: glib/mainloop.test 1427s ok 30 /mainloop/source_time 1427s # slow test /mainloop/source_time executed in 1.00 secs 1427s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1427s ok 31 /mainloop/overflow 1428s ok 32 /mainloop/ready-time 1428s # slow test /mainloop/ready-time executed in 0.50 secs 1428s ok 33 /mainloop/wakeup 1428s ok 34 /mainloop/remove-invalid 1428s ok 35 /mainloop/unref-while-pending 1428s ok 36 /mainloop/unix-fd 1428s # slow test /mainloop/unix-fd executed in 0.61 secs 1428s ok 37 /mainloop/unix-fd-source 1428s ok 38 /mainloop/source-unix-fd-api 1429s ok 39 /mainloop/wait 1429s ok 40 /mainloop/unix-file-poll 1429s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1429s ok 41 /mainloop/unix-fd-priority 1429s ok 42 /mainloop/nfds 1429s ok 43 /mainloop/steal-fd 1429s # Start of ownerless-polling tests 1429s ok 44 /mainloop/ownerless-polling/attach-first 1429s ok 45 /mainloop/ownerless-polling/pop-first 1429s # End of ownerless-polling tests 1429s # End of mainloop tests 1429s PASS: glib/mainloop.test 1429s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.8s; maxrss=15228 1429s autopkgtest [16:42:47]: test mainloop: -----------------------] 1430s autopkgtest [16:42:48]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1430s mainloop PASS 1430s autopkgtest [16:42:48]: test memory-monitor-dbus: preparing testbed 1430s Reading package lists... 1430s Building dependency tree... 1430s Reading state information... 1431s Starting pkgProblemResolver with broken count: 0 1431s Starting 2 pkgProblemResolver with broken count: 0 1431s Done 1432s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1433s autopkgtest [16:42:51]: test memory-monitor-dbus: [----------------------- 1433s Running test: glib/memory-monitor-dbus.test 1433s TAP version 13 1433s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1433s # Received memory warning signal, level 1433s # Received memory warning signal, level 1433s # Received memory warning signal, level 1433s 1..1 1433s PASS: glib/memory-monitor-dbus.test 1433s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.1s; maxrss=30960 1434s autopkgtest [16:42:52]: test memory-monitor-dbus: -----------------------] 1434s autopkgtest [16:42:52]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1434s memory-monitor-dbus PASS 1435s autopkgtest [16:42:53]: test socket: preparing testbed 1435s Reading package lists... 1435s Building dependency tree... 1435s Reading state information... 1435s Starting pkgProblemResolver with broken count: 0 1436s Starting 2 pkgProblemResolver with broken count: 0 1436s Done 1436s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1437s autopkgtest [16:42:55]: test socket: [----------------------- 1437s Running test: glib/socket.test 1437s TAP version 14 1437s # random seed: R02Saf9a764ad761ba33e4af484e1c1b5d99 1437s 1..28 1437s # Start of socket tests 1438s ok 1 /socket/ipv4_sync 1438s # slow test /socket/ipv4_sync executed in 1.00 secs 1439s ok 2 /socket/ipv4_async 1439s # slow test /socket/ipv4_async executed in 1.00 secs 1439s ok 3 /socket/ipv6_sync 1439s ok 4 /socket/ipv6_async 1439s ok 5 /socket/ipv6_v4mapped 1440s ok 6 /socket/close_graceful 1440s # slow test /socket/close_graceful executed in 1.00 secs 1440s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1440s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1440s ok 8 /socket/fd_reuse 1440s ok 9 /socket/address 1440s ok 10 /socket/unix-from-fd 1440s ok 11 /socket/unix-connection 1440s ok 12 /socket/unix-connection-ancillary-data 1440s ok 13 /socket/source-postmortem 1440s ok 14 /socket/read_write 1440s ok 15 /socket/read_writev 1440s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1440s ok 16 /socket/receive_bytes 1440s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1440s ok 17 /socket/receive_bytes_from 1440s # Start of ipv4_sync tests 1440s ok 18 /socket/ipv4_sync/datagram 1440s # Start of datagram tests 1441s ok 19 /socket/ipv4_sync/datagram/timeouts 1441s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1441s # End of datagram tests 1441s # End of ipv4_sync tests 1441s # Start of ipv6_sync tests 1441s ok 20 /socket/ipv6_sync/datagram 1441s # Start of datagram tests 1443s ok 21 /socket/ipv6_sync/datagram/timeouts 1443s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1443s # End of datagram tests 1443s # End of ipv6_sync tests 1443s # Start of reuse tests 1443s ok 22 /socket/reuse/tcp 1443s ok 23 /socket/reuse/udp 1443s # End of reuse tests 1443s # Start of get_available tests 1443s Executing: glib/socket.test 1443s ok 24 /socket/get_available/datagram 1443s ok 25 /socket/get_available/stream 1443s # End of get_available tests 1443s # Start of credentials tests 1443s # Supported on this OS: GCredentials:linux-ucred:pid=0 1443s ok 26 /socket/credentials/tcp_client 1443s # Supported on this OS: GCredentials:linux-ucred:pid=0 1443s ok 27 /socket/credentials/tcp_server 1443s # Supported on this OS: GCredentials:linux-ucred:pid=18386,uid=1000,gid=1000 1443s ok 28 /socket/credentials/unix_socketpair 1443s # End of credentials tests 1443s # End of socket tests 1443s PASS: glib/socket.test 1443s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5480 1443s autopkgtest [16:43:01]: test socket: -----------------------] 1444s autopkgtest [16:43:02]: test socket: - - - - - - - - - - results - - - - - - - - - - 1444s socket PASS 1444s autopkgtest [16:43:02]: test testfilemonitor: preparing testbed 1444s Reading package lists... 1445s Building dependency tree... 1445s Reading state information... 1445s Starting pkgProblemResolver with broken count: 0 1445s Starting 2 pkgProblemResolver with broken count: 0 1445s Done 1446s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1447s autopkgtest [16:43:05]: test testfilemonitor: [----------------------- 1447s Running test: glib/testfilemonitor.test 1447s TAP version 14 1447s # random seed: R02Sdc6cc52f8d8a1c8085ad24e15509fa13 1447s 1..8 1447s # Start of monitor tests 1447s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1447s # Using temporary directory: /tmp/gio-test-testfilemonitor_CXXHZ2 1447s # Using GFileMonitor GInotifyFileMonitor 1449s ok 1 /monitor/atomic-replace 1449s # slow test /monitor/atomic-replace executed in 2.00 secs 1449s # Using temporary directory: /tmp/gio-test-testfilemonitor_UDVHZ2 1449s # Using GFileMonitor GInotifyFileMonitor 1452s ok 2 /monitor/file-changes 1452s # slow test /monitor/file-changes executed in 2.50 secs 1452s # Using temporary directory: /tmp/gio-test-testfilemonitor_J4TTZ2 1452s # Using GFileMonitor GInotifyFileMonitor 1453s Executing: glib/testfilemonitor.test 1455s ok 3 /monitor/dir-monitor 1455s # slow test /monitor/dir-monitor executed in 3.50 secs 1455s # Using temporary directory: /tmp/gio-test-testfilemonitor_0P1HZ2 1455s # Using GFileMonitor GInotifyFileMonitor 1458s Executing: glib/testfilemonitor.test 1464s Executing: glib/testfilemonitor.test 1468s Executing: glib/testfilemonitor.test 1473s Executing: glib/testfilemonitor.test 1478s Executing: glib/testfilemonitor.test 1480s ok 4 /monitor/dir-not-existent 1480s # slow test /monitor/dir-not-existent executed in 25.02 secs 1480s # Using temporary directory: /tmp/gio-test-testfilemonitor_KRJIZ2 1480s # Using GFileMonitor 0 GInotifyFileMonitor 1480s # Using GFileMonitor 1 GInotifyFileMonitor 1482s ok 5 /monitor/cross-dir-moves 1482s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1482s # Using temporary directory: /tmp/gio-test-testfilemonitor_THSIZ2 1482s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1482s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1482s ok 6 /monitor/finalize-in-callback 1482s # Using temporary directory: /tmp/gio-test-testfilemonitor_4EPIZ2 1482s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1482s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1482s ok 7 /monitor/root 1482s # Start of file tests 1482s # Using temporary directory: /tmp/gio-test-testfilemonitor_LBPIZ2 1482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1482s # Running with hard link tests 1482s # Using GFileMonitor GInotifyFileMonitor 1483s Executing: glib/testfilemonitor.test 1486s # Event 0 at expected index 7 skipped because it is marked as optional 1486s # Event 2 at expected index 11 skipped because it is marked as optional 1486s ok 8 /monitor/file/hard-links 1486s # slow test /monitor/file/hard-links executed in 3.50 secs 1486s # End of file tests 1486s # End of monitor tests 1486s PASS: glib/testfilemonitor.test 1486s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5316 1486s autopkgtest [16:43:44]: test testfilemonitor: -----------------------] 1486s autopkgtest [16:43:44]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1486s testfilemonitor PASS 1487s autopkgtest [16:43:45]: test thread-pool-slow: preparing testbed 1487s Reading package lists... 1487s Building dependency tree... 1487s Reading state information... 1488s Starting pkgProblemResolver with broken count: 0 1488s Starting 2 pkgProblemResolver with broken count: 0 1488s Done 1489s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1490s autopkgtest [16:43:48]: test thread-pool-slow: [----------------------- 1490s Running test: glib/thread-pool-slow.test 1490s TAP version 14 1490s # random seed: R02Se98de3903027a1ea804d41c9bf623322 1490s 1..7 1490s # Start of threadpool tests 1490s ok 1 /threadpool/functions 1490s ok 2 /threadpool/stop-unused 1490s # slow test /threadpool/stop-unused executed in 0.51 secs 1490s ok 3 /threadpool/pools 1490s # [unsorted] ===> pushed new thread with id:32, number of threads:1, unprocessed:1 1490s # [unsorted] ===> pushed new thread with id:6, number of threads:2, unprocessed:2 1490s # [unsorted] ===> pushed new thread with id:38, number of threads:3, unprocessed:3 1490s # [unsorted] ===> pushed new thread with id:60, number of threads:4, unprocessed:4 1490s # [unsorted] ===> pushed new thread with id:59, number of threads:5, unprocessed:5 1490s # [unsorted] ===> pushed new thread with id:20, number of threads:6, unprocessed:6 1490s # [unsorted] ===> pushed new thread with id:56, number of threads:7, unprocessed:7 1490s # [unsorted] ===> pushed new thread with id:71, number of threads:8, unprocessed:8 1490s # [unsorted] ===> pushed new thread with id:54, number of threads:9, unprocessed:9 1490s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:0 1490s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:1 1490s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:2 1490s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:3 1490s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:4 1490s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:5 1490s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:6 1490s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:7 1490s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:8 1490s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:9 1490s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:10 1490s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:11 1490s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:12 1490s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:13 1490s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:14 1490s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:15 1490s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:16 1490s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:17 1490s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:18 1490s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:19 1490s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:20 1490s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:21 1490s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:22 1490s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:23 1490s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:24 1490s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:25 1490s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:26 1490s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:27 1490s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:28 1490s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:29 1490s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:30 1490s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:31 1490s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:32 1490s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:33 1490s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:34 1490s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:35 1490s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:36 1490s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:37 1490s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:38 1490s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:39 1490s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:40 1490s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:41 1490s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:42 1490s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:43 1490s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:44 1490s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:45 1490s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:46 1490s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:47 1490s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:48 1490s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:49 1490s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:50 1490s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:51 1490s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:52 1490s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:53 1490s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:54 1490s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:55 1490s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:56 1490s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:57 1490s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:58 1490s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:59 1490s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:60 1490s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:61 1490s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:62 1490s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:63 1490s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:64 1490s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:65 1490s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:66 1490s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:67 1490s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:68 1490s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:69 1490s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:70 1490s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:71 1490s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:72 1490s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:73 1490s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:74 1490s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:75 1490s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:76 1490s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:77 1490s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:78 1490s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:79 1490s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:80 1490s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:81 1490s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:82 1490s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:83 1490s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:84 1490s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:85 1490s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:86 1490s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:87 1490s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:88 1490s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:89 1490s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:90 1490s ok 4 /threadpool/no-sort 1490s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:1 1490s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:2 1490s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:3 1490s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:4 1490s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:5 1490s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:6 1490s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:7 1490s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:8 1490s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:9 1490s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:10 1490s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:11 1490s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:12 1490s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:13 1490s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:14 1490s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:15 1490s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:16 1490s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:17 1490s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:18 1490s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:19 1490s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:20 1490s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:21 1490s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:22 1490s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:23 1490s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:24 1490s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:25 1490s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:26 1490s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:27 1490s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:28 1490s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:29 1490s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:30 1490s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:31 1490s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:32 1490s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:33 1490s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:34 1490s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:35 1490s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:36 1490s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:37 1490s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:38 1490s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:39 1490s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:40 1490s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:41 1490s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:42 1490s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:43 1490s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:44 1490s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:45 1490s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:46 1490s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:47 1490s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:48 1490s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:49 1490s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:50 1490s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:51 1490s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:52 1490s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:53 1490s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:54 1490s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:55 1490s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:56 1490s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:57 1490s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:58 1490s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:59 1490s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:60 1490s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:61 1490s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:62 1490s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:63 1490s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:64 1490s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:65 1490s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:66 1490s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:67 1490s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:68 1490s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:69 1490s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:70 1490s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:71 1490s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:72 1490s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:73 1490s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:74 1490s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:75 1490s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:76 1490s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:77 1490s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:78 1490s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:79 1490s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:80 1490s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:81 1490s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:82 1490s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:83 1490s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:84 1490s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:85 1490s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:86 1490s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:87 1490s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:88 1490s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:89 1490s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:90 1490s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:91 1490s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:92 1490s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:93 1490s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:94 1490s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:95 1490s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:96 1490s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:97 1490s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:98 1490s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:99 1490s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:100 1490s # Starting thread pool processing 1490s ok 5 /threadpool/sort 1491s ok 6 /threadpool/stop-unused-multiple 1491s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1491s # Pool idle thread count: 0, unprocessed jobs: 43 1491s # Pool idle thread count: 0, unprocessed jobs: 0 1491s # Pool idle thread count: 0, unprocessed jobs: 0 1492s # Pool idle thread count: 10, unprocessed jobs: 0 1492s # Pool idle thread count: 10, unprocessed jobs: 0 1492s # Pool idle thread count: 10, unprocessed jobs: 0 1492s # Pool idle thread count: 10, unprocessed jobs: 0 1493s # Pool idle thread count: 10, unprocessed jobs: 0 1493s # Pool idle thread count: 10, unprocessed jobs: 0 1493s # Pool idle thread count: 10, unprocessed jobs: 0 1493s # Pool idle thread count: 10, unprocessed jobs: 0 1494s # Pool idle thread count: 10, unprocessed jobs: 0 1494s # Pool idle thread count: 10, unprocessed jobs: 0 1494s # Pool idle thread count: 10, unprocessed jobs: 0 1494s # Pool idle thread count: 10, unprocessed jobs: 0 1495s Executing: glib/thread-pool-slow.test 1495s # Pool idle thread count: 10, unprocessed jobs: 0 1495s # Pool idle thread count: 10, unprocessed jobs: 0 1495s # Pool idle thread count: 10, unprocessed jobs: 0 1495s # Pool idle thread count: 10, unprocessed jobs: 0 1496s # Pool idle thread count: 10, unprocessed jobs: 0 1496s # Pool idle thread count: 10, unprocessed jobs: 0 1496s # Pool idle thread count: 10, unprocessed jobs: 0 1496s # Pool idle thread count: 10, unprocessed jobs: 0 1497s # Pool idle thread count: 10, unprocessed jobs: 0 1497s # Pool idle thread count: 10, unprocessed jobs: 0 1497s # Pool idle thread count: 10, unprocessed jobs: 0 1497s # Pool idle thread count: 10, unprocessed jobs: 0 1498s # Pool idle thread count: 10, unprocessed jobs: 0 1498s # Pool idle thread count: 10, unprocessed jobs: 0 1498s # Pool idle thread count: 10, unprocessed jobs: 0 1498s # Pool idle thread count: 10, unprocessed jobs: 0 1499s # Pool idle thread count: 10, unprocessed jobs: 0 1499s # Pool idle thread count: 10, unprocessed jobs: 0 1499s # Pool idle thread count: 10, unprocessed jobs: 0 1499s # Pool idle thread count: 10, unprocessed jobs: 0 1500s Executing: glib/thread-pool-slow.test 1500s # Pool idle thread count: 10, unprocessed jobs: 2 1500s # Pool idle thread count: 10, unprocessed jobs: 2 1500s # Pool idle thread count: 8, unprocessed jobs: 0 1500s # Pool idle thread count: 8, unprocessed jobs: 0 1500s # Pool idle thread count: 10, unprocessed jobs: 0 1500s # Pool idle thread count: 10, unprocessed jobs: 0 1501s # Pool idle thread count: 10, unprocessed jobs: 0 1501s # Pool idle thread count: 10, unprocessed jobs: 0 1501s # Pool idle thread count: 10, unprocessed jobs: 0 1501s # Pool idle thread count: 10, unprocessed jobs: 0 1502s # Pool idle thread count: 2, unprocessed jobs: 0 1502s # Pool idle thread count: 2, unprocessed jobs: 0 1502s # Pool idle thread count: 2, unprocessed jobs: 0 1502s # Pool idle thread count: 2, unprocessed jobs: 0 1503s # Pool idle thread count: 2, unprocessed jobs: 0 1503s # Pool idle thread count: 2, unprocessed jobs: 0 1503s # Pool idle thread count: 2, unprocessed jobs: 0 1503s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s Executing: glib/thread-pool-slow.test 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1506s # Pool idle thread count: 2, unprocessed jobs: 0 1506s # Pool idle thread count: 2, unprocessed jobs: 0 1506s # Pool idle thread count: 2, unprocessed jobs: 0 1506s # Pool idle thread count: 2, unprocessed jobs: 0 1507s # Pool idle thread count: 2, unprocessed jobs: 0 1507s # Pool idle thread count: 2, unprocessed jobs: 0 1507s # Pool idle thread count: 2, unprocessed jobs: 0 1507s # Pool idle thread count: 2, unprocessed jobs: 0 1508s # Pool idle thread count: 2, unprocessed jobs: 0 1508s # Pool idle thread count: 2, unprocessed jobs: 0 1508s # Pool idle thread count: 2, unprocessed jobs: 0 1508s # Pool idle thread count: 2, unprocessed jobs: 0 1509s # Pool idle thread count: 2, unprocessed jobs: 0 1509s # Pool idle thread count: 2, unprocessed jobs: 0 1509s # Pool idle thread count: 2, unprocessed jobs: 0 1509s # Pool idle thread count: 2, unprocessed jobs: 0 1510s Executing: glib/thread-pool-slow.test 1510s # Pool idle thread count: 2, unprocessed jobs: 0 1510s # Pool idle thread count: 2, unprocessed jobs: 0 1510s ok 7 /threadpool/idle-time 1510s # slow test /threadpool/idle-time executed in 19.53 secs 1510s # End of threadpool tests 1510s PASS: glib/thread-pool-slow.test 1510s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3624 1511s autopkgtest [16:44:09]: test thread-pool-slow: -----------------------] 1511s autopkgtest [16:44:09]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1511s thread-pool-slow PASS 1512s autopkgtest [16:44:10]: test threadtests: preparing testbed 1512s Reading package lists... 1512s Building dependency tree... 1512s Reading state information... 1513s Starting pkgProblemResolver with broken count: 0 1513s Starting 2 pkgProblemResolver with broken count: 0 1513s Done 1513s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1514s autopkgtest [16:44:12]: test threadtests: [----------------------- 1515s Running test: glib/threadtests.test 1515s TAP version 14 1515s # random seed: R02Sef79143dc4dcf4156785510e2ad00182 1515s 1..5 1515s # Start of GObject tests 1515s ok 1 /GObject/threaded-object-init 1515s ok 2 /GObject/threaded-weak-ref 1515s # slow test /GObject/threaded-weak-ref executed in 0.73 secs 1515s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1515s # /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 1516s ok 3 /GObject/threaded-toggle-notify 1516s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1516s # Start of threaded-weak-ref tests 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1516s # /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. 1516s ok 5 /GObject/threaded-weak-ref/on-finalization 1516s # End of threaded-weak-ref tests 1516s # End of GObject tests 1516s PASS: glib/threadtests.test 1516s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.4s; maxrss=3524 1516s autopkgtest [16:44:14]: test threadtests: -----------------------] 1516s threadtests PASS 1516s autopkgtest [16:44:14]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1517s autopkgtest [16:44:15]: test timeout: preparing testbed 1517s Reading package lists... 1517s Building dependency tree... 1517s Reading state information... 1518s Starting pkgProblemResolver with broken count: 0 1518s Starting 2 pkgProblemResolver with broken count: 0 1518s Done 1519s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1520s autopkgtest [16:44:18]: test timeout: [----------------------- 1520s Running test: glib/timeout.test 1520s TAP version 14 1520s # random seed: R02S607b837856c7474d56066a1a5532588a 1520s 1..5 1520s # Start of timeout tests 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1522s ok 1 /timeout/seconds 1522s # slow test /timeout/seconds executed in 2.10 secs 1524s ok 2 /timeout/seconds-once 1524s # slow test /timeout/seconds-once executed in 2.10 secs 1524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1525s Executing: glib/timeout.test 1526s ok 3 /timeout/weeks-overflow 1526s # slow test /timeout/weeks-overflow executed in 2.10 secs 1526s ok 4 /timeout/far-future-ready-time 1530s Executing: glib/timeout.test 1536s Executing: glib/timeout.test 1537s ok 5 /timeout/rounding 1537s # slow test /timeout/rounding executed in 10.67 secs 1537s # End of timeout tests 1537s PASS: glib/timeout.test 1537s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2864 1537s autopkgtest [16:44:35]: test timeout: -----------------------] 1538s autopkgtest [16:44:36]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1538s timeout PASS 1538s autopkgtest [16:44:36]: test timer: preparing testbed 1538s Reading package lists... 1539s Building dependency tree... 1539s Reading state information... 1539s Starting pkgProblemResolver with broken count: 0 1539s Starting 2 pkgProblemResolver with broken count: 0 1539s Done 1540s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1541s autopkgtest [16:44:39]: test timer: [----------------------- 1541s Running test: glib/timer.test 1541s TAP version 14 1541s # random seed: R02S8186a223717235edcffa3ae0880d67a4 1541s 1..10 1541s # Start of timer tests 1541s ok 1 /timer/basic 1541s ok 2 /timer/stop 1541s ok 3 /timer/continue 1541s ok 4 /timer/reset 1541s ok 5 /timer/is_active 1541s # End of timer tests 1541s # Start of timeval tests 1541s ok 6 /timeval/add 1541s ok 7 /timeval/from-iso8601 1541s ok 8 /timeval/to-iso8601 1541s # Start of to-iso8601 tests 1541s ok 9 /timeval/to-iso8601/overflow 1541s # End of to-iso8601 tests 1541s # End of timeval tests 1541s # Start of usleep tests 1541s ok 10 /usleep/with-zero-wait 1541s # End of usleep tests 1541s PASS: glib/timer.test 1541s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3000 1541s autopkgtest [16:44:39]: test timer: -----------------------] 1542s autopkgtest [16:44:40]: test timer: - - - - - - - - - - results - - - - - - - - - - 1542s timer PASS 1542s autopkgtest [16:44:40]: test 1065022-futureproofing: preparing testbed 1697s autopkgtest [16:47:15]: testbed dpkg architecture: arm64 1697s autopkgtest [16:47:15]: testbed apt version: 2.9.18 1698s autopkgtest [16:47:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1698s autopkgtest [16:47:16]: testbed release detected to be: plucky 1699s autopkgtest [16:47:17]: updating testbed package index (apt update) 1699s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1699s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1699s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1699s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1700s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [73.5 kB] 1700s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [782 kB] 1700s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 1700s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1700s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [98.4 kB] 1700s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 1700s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [675 kB] 1700s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.3 kB] 1700s Fetched 1792 kB in 1s (1942 kB/s) 1701s Reading package lists... 1702s Reading package lists... 1703s Building dependency tree... 1703s Reading state information... 1704s Calculating upgrade... 1704s The following packages will be upgraded: 1704s base-passwd bash-completion 1704s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1704s Need to get 267 kB of archives. 1704s After this operation, 143 kB of additional disk space will be used. 1704s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.6 [53.6 kB] 1705s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.16.0-1 [214 kB] 1705s Preconfiguring packages ... 1705s Fetched 267 kB in 0s (561 kB/s) 1706s (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 ... 80060 files and directories currently installed.) 1706s Preparing to unpack .../base-passwd_3.6.6_arm64.deb ... 1706s Unpacking base-passwd (3.6.6) over (3.6.5) ... 1706s Setting up base-passwd (3.6.6) ... 1706s (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 ... 80060 files and directories currently installed.) 1706s Preparing to unpack .../bash-completion_1%3a2.16.0-1_all.deb ... 1706s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 1707s Setting up bash-completion (1:2.16.0-1) ... 1707s Processing triggers for man-db (2.13.0-1) ... 1708s Reading package lists... 1709s Building dependency tree... 1709s Reading state information... 1710s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 1710s autopkgtest [16:47:28]: upgrading testbed (apt dist-upgrade and autopurge) 1710s Reading package lists... 1711s Building dependency tree... 1711s Reading state information... 1711s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1712s Starting 2 pkgProblemResolver with broken count: 0 1712s Done 1713s Entering ResolveByKeep 1713s 1713s The following packages were automatically installed and are no longer required: 1713s python3.12 python3.12-minimal 1713s Use 'sudo apt autoremove' to remove them. 1714s The following NEW packages will be installed: 1714s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 1714s The following packages will be upgraded: 1714s libpython3-stdlib python3 python3-minimal 1714s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 1714s Need to get 5992 kB of archives. 1714s After this operation, 24.3 MB of additional disk space will be used. 1714s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 1714s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 1714s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.13.1-1~exp2 [27.6 kB] 1714s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.13.1-1~exp2 [23.9 kB] 1714s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 1714s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 1714s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.13.1-1~exp2 [10.2 kB] 1715s Fetched 5992 kB in 1s (6803 kB/s) 1715s Selecting previously unselected package libpython3.13-minimal:arm64. 1715s (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.) 1715s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_arm64.deb ... 1715s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 1715s Selecting previously unselected package python3.13-minimal. 1715s Preparing to unpack .../python3.13-minimal_3.13.1-2_arm64.deb ... 1715s Unpacking python3.13-minimal (3.13.1-2) ... 1715s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 1715s Setting up python3.13-minimal (3.13.1-2) ... 1717s (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 ... 80505 files and directories currently installed.) 1717s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_arm64.deb ... 1717s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 1717s Setting up python3-minimal (3.13.1-1~exp2) ... 1717s (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 ... 80505 files and directories currently installed.) 1717s Preparing to unpack .../python3_3.13.1-1~exp2_arm64.deb ... 1717s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 1717s Selecting previously unselected package libpython3.13-stdlib:arm64. 1717s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_arm64.deb ... 1717s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 1718s Selecting previously unselected package python3.13. 1718s Preparing to unpack .../python3.13_3.13.1-2_arm64.deb ... 1718s Unpacking python3.13 (3.13.1-2) ... 1718s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_arm64.deb ... 1718s Unpacking libpython3-stdlib:arm64 (3.13.1-1~exp2) over (3.12.8-1) ... 1718s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 1718s Setting up libpython3-stdlib:arm64 (3.13.1-1~exp2) ... 1718s Setting up python3.13 (3.13.1-2) ... 1719s Setting up python3 (3.13.1-1~exp2) ... 1719s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1719s for fn in glob1(directory, "%s.*" % fname): 1719s Processing triggers for man-db (2.13.0-1) ... 1720s Processing triggers for systemd (257-2ubuntu1) ... 1720s Reading package lists... 1720s Building dependency tree... 1720s Reading state information... 1721s Starting pkgProblemResolver with broken count: 0 1721s Starting 2 pkgProblemResolver with broken count: 0 1721s Done 1721s The following packages will be REMOVED: 1721s python3.12* python3.12-minimal* 1722s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 1722s After this operation, 8710 kB disk space will be freed. 1722s (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 ... 80922 files and directories currently installed.) 1722s Removing python3.12 (3.12.8-3) ... 1722s Removing python3.12-minimal (3.12.8-3) ... 1722s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1722s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 1723s Processing triggers for man-db (2.13.0-1) ... 1724s Processing triggers for systemd (257-2ubuntu1) ... 1724s (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 ... 80894 files and directories currently installed.) 1724s Purging configuration files for python3.12-minimal (3.12.8-3) ... 1728s Reading package lists... 1728s Building dependency tree... 1728s Reading state information... 1728s Starting pkgProblemResolver with broken count: 0 1728s Starting 2 pkgProblemResolver with broken count: 0 1728s Done 1729s The following NEW packages will be installed: 1729s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1729s libdconf1 1729s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1729s Need to get 137 kB of archives. 1729s After this operation, 693 kB of additional disk space will be used. 1729s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libdconf1 arm64 0.40.0-4build2 [39.8 kB] 1730s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-service arm64 0.40.0-4build2 [26.9 kB] 1730s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-gsettings-backend arm64 0.40.0-4build2 [22.0 kB] 1730s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 dpkg-repack all 1.54 [11.2 kB] 1730s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1730s Fetched 137 kB in 0s (391 kB/s) 1730s Selecting previously unselected package libdconf1:arm64. 1730s (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 ... 80894 files and directories currently installed.) 1730s Preparing to unpack .../libdconf1_0.40.0-4build2_arm64.deb ... 1730s Unpacking libdconf1:arm64 (0.40.0-4build2) ... 1730s Selecting previously unselected package dconf-service. 1730s Preparing to unpack .../dconf-service_0.40.0-4build2_arm64.deb ... 1730s Unpacking dconf-service (0.40.0-4build2) ... 1730s Selecting previously unselected package dconf-gsettings-backend:arm64. 1730s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_arm64.deb ... 1730s Unpacking dconf-gsettings-backend:arm64 (0.40.0-4build2) ... 1730s Selecting previously unselected package dpkg-repack. 1730s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1730s Unpacking dpkg-repack (1.54) ... 1730s Selecting previously unselected package gsettings-desktop-schemas. 1730s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1730s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1730s Setting up dpkg-repack (1.54) ... 1730s Setting up libdconf1:arm64 (0.40.0-4build2) ... 1730s Setting up dconf-service (0.40.0-4build2) ... 1730s Setting up dconf-gsettings-backend:arm64 (0.40.0-4build2) ... 1730s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1730s Processing triggers for man-db (2.13.0-1) ... 1731s Processing triggers for libglib2.0-0t64:arm64 (2.82.4-1) ... 1731s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1740s autopkgtest [16:47:58]: test 1065022-futureproofing: [----------------------- 1740s + export DEBIAN_FRONTEND=noninteractive 1740s + n=0 1740s + failed=0 1740s + binary_package=libglib2.0-0t64 1740s + future_binary_package=libglib2.0-0xyz 1740s + pwd 1740s + srcdir=/tmp/autopkgtest.D93pOL/build.YOD/src 1740s + mktemp -d 1740s + tmpdir=/tmp/tmp.8xhjYwtwaO 1740s + cd /tmp/tmp.8xhjYwtwaO 1740s + [ -e /tmp/autopkgtest.D93pOL/build.YOD/src/debian/tests/manual/local-1065022.sources ] 1740s + dpkg-query -W dpkg-repack 1740s dpkg-repack 1.54 1740s + dpkg-repack --generate libglib2.0-0t64 1741s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1741s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.9GZbLA for libglib2.0-0t64 1741s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.9GZbLA ." 1741s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.9GZbLA/DEBIAN/control 1741s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.9GZbLA/DEBIAN/control 1741s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.9GZbLA/DEBIAN/control 1741s + 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.9GZbLA/DEBIAN/control 1741s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.9GZbLA libglib2.0-0xyz.deb 1741s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1743s + apt-get -y install ./libglib2.0-0xyz.deb 1743s Reading package lists... 1744s Building dependency tree... 1744s Reading state information... 1744s The following packages were automatically installed and are no longer required: 1744s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1744s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1744s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1744s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1744s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1744s python3-openssl python3-problem-report python3-pygments python3-requests 1744s python3-rich python3-systemd python3-urllib3 1744s Use 'sudo apt autoremove' to remove them. 1744s The following additional packages will be installed: 1744s xdg-user-dirs 1745s Suggested packages: 1745s low-memory-monitor 1745s Recommended packages: 1745s shared-mime-info 1745s The following packages will be REMOVED: 1745s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1745s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1745s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1745s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1745s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1745s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1745s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1745s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1745s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1745s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1745s python3-netplan shared-mime-info ubuntu-minimal udisks2 1745s The following NEW packages will be installed: 1745s libglib2.0-0xyz xdg-user-dirs 1745s 0 upgraded, 2 newly installed, 48 to remove and 0 not upgraded. 1745s Need to get 18.5 kB/1580 kB of archives. 1745s After this operation, 35.0 MB disk space will be freed. 1745s Get:1 /tmp/tmp.8xhjYwtwaO/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.82.4-1 [1561 kB] 1745s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 xdg-user-dirs arm64 0.18-2 [18.5 kB] 1745s Fetched 18.5 kB in 0s (81.5 kB/s) 1745s (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 ... 80962 files and directories currently installed.) 1745s Removing bolt (0.9.8-1) ... 1746s Removing cloud-init (24.4-0ubuntu1) ... 1746s Removing cloud-init-base (24.4-0ubuntu1) ... 1746s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1746s for fn in glob1(directory, "%s.*" % fname): 1746s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1747s Removing dconf-gsettings-backend:arm64 (0.40.0-4build2) ... 1747s Removing dconf-service (0.40.0-4build2) ... 1747s Removing fwupd (2.0.3-3) ... 1747s Removing networkd-dispatcher (2.2.4-1.1) ... 1748s Removing udisks2 (2.10.1-11ubuntu1) ... 1748s Removing libblockdev-crypto3:arm64 (3.2.1-1) ... 1748s Removing libblockdev-fs3:arm64 (3.2.1-1) ... 1748s Removing libblockdev-loop3:arm64 (3.2.1-1) ... 1748s Removing libblockdev-mdraid3:arm64 (3.2.1-1) ... 1749s Removing libblockdev-nvme3:arm64 (3.2.1-1) ... 1749s Removing libblockdev-part3:arm64 (3.2.1-1) ... 1749s Removing libblockdev-swap3:arm64 (3.2.1-1) ... 1749s Removing libblockdev3:arm64 (3.2.1-1) ... 1749s Removing libblockdev-utils3:arm64 (3.2.1-1) ... 1749s Removing libdconf1:arm64 (0.40.0-4build2) ... 1749s Removing libfwupd3:arm64 (2.0.3-3) ... 1749s Removing shared-mime-info (2.4-5) ... 1749s Removing python3-dbus (1.3.2-5build4) ... 1749s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1749s for fn in glob1(directory, "%s.*" % fname): 1749s Removing libgudev-1.0-0:arm64 (1:238-5ubuntu1) ... 1750s Removing libjcat1:arm64 (0.2.0-2build3) ... 1750s Removing libjson-glib-1.0-0:arm64 (1.10.6+ds-1) ... 1750s Removing libqmi-proxy (1.35.6-1) ... 1750s Removing libqmi-glib5:arm64 (1.35.6-1) ... 1750s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1750s Removing libmbim-glib4:arm64 (1.31.2-0ubuntu4) ... 1750s Removing libmm-glib0:arm64 (1.23.4-0ubuntu2) ... 1750s Removing ubuntu-minimal (1.544) ... 1750s Removing netplan.io (1.1.1-1) ... 1750s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1750s Removing python3-netplan (1.1.1-1) ... 1750s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1750s for fn in glob1(directory, "%s.*" % fname): 1751s Removing netplan-generator (1.1.1-1) ... 1751s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1751s Removing libnetplan1:arm64 (1.1.1-1) ... 1751s Removing libpolkit-agent-1-0:arm64 (125-2ubuntu1) ... 1751s Removing libpolkit-gobject-1-0:arm64 (125-2ubuntu1) ... 1751s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu4) ... 1751s Removing libudisks2-0:arm64 (2.10.1-11ubuntu1) ... 1751s Removing libvolume-key1:arm64 (0.3.12-8) ... 1751s Removing libxmlb2:arm64 (0.3.21-1) ... 1752s Removing apport (2.31.0-0ubuntu2) ... 1752s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 1752s Removing python3-gi (3.50.0-3build1) ... 1753s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1753s for fn in glob1(directory, "%s.*" % fname): 1753s Removing gir1.2-girepository-2.0:arm64 (1.82.0-3) ... 1753s Removing gir1.2-glib-2.0:arm64 (2.82.4-1) ... 1753s Removing libgirepository-1.0-1:arm64 (1.82.0-3) ... 1753s Removing libglib2.0-0t64:arm64 (2.82.4-1) ... 1753s Selecting previously unselected package libglib2.0-0xyz:arm64. 1753s (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 ... 79902 files and directories currently installed.) 1753s Preparing to unpack .../libglib2.0-0xyz.deb ... 1753s Unpacking libglib2.0-0xyz:arm64 (2.82.4-1) ... 1753s Selecting previously unselected package xdg-user-dirs. 1753s Preparing to unpack .../xdg-user-dirs_0.18-2_arm64.deb ... 1753s Unpacking xdg-user-dirs (0.18-2) ... 1753s Setting up xdg-user-dirs (0.18-2) ... 1753s Setting up libglib2.0-0xyz:arm64 (2.82.4-1) ... 1753s No schema files found: removed existing output file. 1753s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1753s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1753s Processing triggers for man-db (2.13.0-1) ... 1754s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1754s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1754s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1754s + n=1 1754s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1754s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1754s + failed=1 1754s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1754s + n=2 1754s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1754s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1754s + failed=1 1754s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1754s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1754s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1754s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1754s + n=3 1754s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1754s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1754s + failed=1 1754s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1754s + n=4 1754s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1754s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1754s + failed=1 1754s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1754s + n=5 1754s + test -e /usr/lib/*/gio/modules/giomodule.cache 1754s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1754s + failed=1 1754s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1754s + n=6 1754s + test -s /usr/lib/*/gio/modules/giomodule.cache 1754s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1754s + failed=1 1754s + apt-get -y purge libglib2.0-0t64 1754s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1755s Reading package lists... 1755s Building dependency tree... 1755s Reading state information... 1756s The following packages were automatically installed and are no longer required: 1756s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1756s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1756s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1756s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1756s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1756s python3-openssl python3-problem-report python3-pygments python3-requests 1756s python3-rich python3-systemd python3-urllib3 1756s Use 'sudo apt autoremove' to remove them. 1756s The following packages will be REMOVED: 1756s libglib2.0-0t64* 1756s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1756s After this operation, 0 B of additional disk space will be used. 1756s (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 ... 79937 files and directories currently installed.) 1756s Purging configuration files for libglib2.0-0t64:arm64 (2.82.4-1) ... 1756s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1756s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1756s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1756s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1756s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1756s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1756s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1756s + n=7 1756s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1756s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1756s + failed=1 1756s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1756s + n=8 1756s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1756s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1756s + failed=1 1756s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1756s + n=9 1756s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1756s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1756s + failed=1 1756s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1756s + n=10 1756s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1756s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1756s + failed=1 1756s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1756s + n=11 1756s + test -e /usr/lib/*/gio/modules/giomodule.cache 1756s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1756s + failed=1 1756s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1756s + n=12 1756s + test -s /usr/lib/*/gio/modules/giomodule.cache 1756s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1756s + failed=1 1756s + apt-get -y purge libglib2.0-0xyz 1757s Reading package lists... 1757s Building dependency tree... 1757s Reading state information... 1758s The following packages were automatically installed and are no longer required: 1758s apport-symptoms fwupd-signed jq libatasmart4 libatomic1 libbytesize-common 1758s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1758s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 1758s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi 1758s python3-chardet python3-configobj python3-debconf python3-markdown-it 1758s python3-mdurl python3-openssl python3-problem-report python3-pygments 1758s python3-requests python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1758s Use 'sudo apt autoremove' to remove them. 1758s The following packages will be REMOVED: 1758s libglib2.0-0xyz* 1758s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1758s After this operation, 4898 kB disk space will be freed. 1758s (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 ... 79937 files and directories currently installed.) 1758s Removing libglib2.0-0xyz:arm64 (2.82.4-1) ... 1758s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1758s (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 ... 79912 files and directories currently installed.) 1758s Purging configuration files for libglib2.0-0xyz:arm64 (2.82.4-1) ... 1759s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1759s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1759s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1759s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1759s 1..16 1759s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1759s + n=13 1759s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1759s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1759s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1759s + n=14 1759s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1759s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1759s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1759s + n=15 1759s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1759s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1759s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1759s + n=16 1759s + test -e /usr/lib/*/gio/modules/giomodule.cache 1759s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1759s + echo 1..16 1759s + exit 1 1759s autopkgtest [16:48:17]: test 1065022-futureproofing: -----------------------] 1759s autopkgtest [16:48:17]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1759s 1065022-futureproofing FLAKY non-zero exit status 1 1760s autopkgtest [16:48:18]: @@@@@@@@@@@@@@@@@@@@ summary 1760s build PASS (superficial) 1760s build-static PASS (superficial) 1760s girepository-tools PASS (superficial) 1760s libgio-2.0-dev-bin PASS (superficial) 1760s libglib2.0-dev PASS (superficial) 1760s installed-tests PASS 1760s closure-refcount PASS 1760s debugcontroller PASS 1760s gdbus-server-auth PASS 1760s gdbus-threading PASS 1760s gmenumodel PASS 1760s mainloop PASS 1760s memory-monitor-dbus PASS 1760s socket PASS 1760s testfilemonitor PASS 1760s thread-pool-slow PASS 1760s threadtests PASS 1760s timeout PASS 1760s timer PASS 1760s 1065022-futureproofing FLAKY non-zero exit status 1 1777s nova [W] Using flock in prodstack6-arm64 1777s Creating nova instance adt-plucky-arm64-glib2.0-20250103-144843-juju-7f2275-prod-proposed-migration-environment-15-c3ca0b83-1f87-4924-b025-a67f276158f3 from image adt/ubuntu-plucky-arm64-server-20250102.img (UUID 4cb073f4-4206-4362-b576-2406cb25ddd8)... 1777s nova [W] Timed out waiting for a75b761e-40e1-44da-bd29-1cd6768904f3 to get deleted. 1777s nova [W] Using flock in prodstack6-arm64 1777s Creating nova instance adt-plucky-arm64-glib2.0-20250103-144843-juju-7f2275-prod-proposed-migration-environment-15-c3ca0b83-1f87-4924-b025-a67f276158f3 from image adt/ubuntu-plucky-arm64-server-20250102.img (UUID 4cb073f4-4206-4362-b576-2406cb25ddd8)... 1777s nova [W] Timed out waiting for e6d3fb7c-96b8-413c-9462-d924dc5eefed to get deleted. 1777s nova [W] Using flock in prodstack6-arm64 1777s Creating nova instance adt-plucky-arm64-glib2.0-20250103-144843-juju-7f2275-prod-proposed-migration-environment-15-c3ca0b83-1f87-4924-b025-a67f276158f3 from image adt/ubuntu-plucky-arm64-server-20250102.img (UUID 4cb073f4-4206-4362-b576-2406cb25ddd8)... 1777s nova [W] Timed out waiting for 00328f5c-b2ba-4d30-9149-077eed20198e to get deleted. 1777s nova [W] Using flock in prodstack6-arm64 1777s Creating nova instance adt-plucky-arm64-glib2.0-20250103-144843-juju-7f2275-prod-proposed-migration-environment-15-c3ca0b83-1f87-4924-b025-a67f276158f3 from image adt/ubuntu-plucky-arm64-server-20250102.img (UUID 4cb073f4-4206-4362-b576-2406cb25ddd8)... 1777s nova [W] Timed out waiting for c372568f-fe15-4618-8ab4-75c79acc5277 to get deleted. 1777s nova [W] Using flock in prodstack6-arm64 1777s flock: timeout while waiting to get lock 1777s Creating nova instance adt-plucky-arm64-glib2.0-20250103-144843-juju-7f2275-prod-proposed-migration-environment-15-c3ca0b83-1f87-4924-b025-a67f276158f3 from image adt/ubuntu-plucky-arm64-server-20250102.img (UUID 4cb073f4-4206-4362-b576-2406cb25ddd8)... 1777s nova [W] Timed out waiting for 6fdb1445-8669-4304-8dc5-651ad2f3321e to get deleted. 1777s nova [W] Using flock in prodstack6-arm64 1777s Creating nova instance adt-plucky-arm64-glib2.0-20250103-144843-juju-7f2275-prod-proposed-migration-environment-15-c3ca0b83-1f87-4924-b025-a67f276158f3 from image adt/ubuntu-plucky-arm64-server-20250102.img (UUID 4cb073f4-4206-4362-b576-2406cb25ddd8)... 1777s nova [W] Timed out waiting for 12da678a-e3bb-414f-9923-ad3f088253b7 to get deleted.